pharos

Blacksmith Documentation

This directory contains the Sphinx documentation for the Blacksmith project.

Building Documentation Locally

Prerequisites

Install the required Python packages:

pip install -r requirements-docs.txt

Build Single Version

To build the documentation for the current branch:

cd docs
make html

The built documentation will be available in docs/_build/html/.

Build Multi-Version

To build documentation for all versions (branches and tags):

cd docs
make multiversion

This will build documentation for:

The built documentation will be available in docs/_build/html/, with each version in its own subdirectory.

Clean Build Artifacts

To remove all build artifacts:

cd docs
make clean

CI/CD Integration

Documentation is automatically built and deployed to GitHub Pages on:

The workflow is defined in .github/workflows/docs-build-deploy.yaml.

Documentation Structure

Multi-Version Configuration

The multi-version support is configured in conf.py:

Publishing

Documentation is published to GitHub Pages at: https://deerfieldgreen.github.io/blacksmith/

Each version is accessible via: