This directory contains the Sphinx documentation for figpack.
Install the documentation dependencies:
pip install -e .[docs]Or install manually:
pip install sphinx myst-parser sphinx-rtd-themeTo build the documentation locally:
cd docs
make htmlThe built documentation will be available in _build/html/index.html.
For development with automatic rebuilding when files change, first install the docs dependencies:
pip install -e .[docs]Then run:
cd docs
make livehtmlThis will start a local server (usually at http://127.0.0.1:8000) that automatically rebuilds and refreshes when you make changes.
To clean the build directory and rebuild:
cd docs
make clean-buildDocumentation is automatically built and deployed to GitHub Pages when changes are pushed to the main branch. The workflow is defined in .github/workflows/docs.yml.
conf.py- Sphinx configurationindex.md- Main documentation pageinstallation.md- Installation guidequickstart.md- Quick start guideexamples/- Examples documentationapi/- API reference documentationcontributing.md- Contribution guidelinesdeveloper_guide.md- Developer guide_static/- Static assets (images, CSS, etc.)_build/- Generated documentation (ignored by git)
This documentation uses MyST (Markedly Structured Text) which allows you to write in Markdown with additional Sphinx features. See the MyST documentation for syntax details.