This directory contains the Sphinx documentation for the Blacksmith project.
Install the required Python packages:
pip install -r requirements-docs.txt
To build the documentation for the current branch:
cd docs
make html
The built documentation will be available in docs/_build/html/.
To build documentation for all versions (branches and tags):
cd docs
make multiversion
This will build documentation for:
main branchv*.*.* (e.g., v1.0.0, v2.1.3)The built documentation will be available in docs/_build/html/, with each version in its own subdirectory.
To remove all build artifacts:
cd docs
make clean
Documentation is automatically built and deployed to GitHub Pages on:
main branchv1.0.0)The workflow is defined in .github/workflows/docs-build-deploy.yaml.
conf.py - Sphinx configuration fileindex.rst - Main documentation entry pointarchitecture/ - Architecture documentationapi-endpoints/ - API endpoint documentationexamples/ - Examples and cookbooksoperations/ - Operations and infrastructure documentationprompt-engineering/ - Prompt engineering documentationcontributing.rst - Contribution guidelinesThe multi-version support is configured in conf.py:
smv_branch_whitelist - Pattern for branches to include (currently main only)smv_tag_whitelist - Pattern for tags to include (currently v*.*.*)smv_remote_whitelist - Pattern for remotes to use (currently origin only)Documentation is published to GitHub Pages at: https://deerfieldgreen.github.io/blacksmith/
Each version is accessible via: