The repository docs.arcana
contains the documentation sources and scripts for building
the Arcana Network's SDKs:
The following documentation tools are used to build a static site generator deployed via Netlify:
mkdocs
mkdocs-material
Follow these instructions to add/update content in this repository.
- Install
mkdocs
, version 1.6.0 or higher - Install all packages listed in the requirements.txt file
- Use
python
version 3.9.7 or higher - For Mac build, besides enabling all packages in requirements.txt make sure these are installed for meta tags used in social preview of shared links
brew install cairo freetype libffi libjpeg libpng zlib
For more details, see dependencies listed in Material for MkDocs.
If you see build issues on Mac due to cairo
library path try adding:
export DYLD_FALLBACK_LIBRARY_PATH=/opt/homebrew/lib
GOOGLE_ANALYTICS_ID=<Use from Arcana Vault - Contact Ajay>
DOCS_SITE_URL='https://docs.arcana.network'
PYTHON_VERSION="3.13.0"
mkdocs build
mkdocs serve -a localhost:<port num>
If you see issue with using liburl3==2.0.3, replace it with v < 1.0