The documentation build configuration is stored as its own subproject, a copy of Canonical's Sphinx Starter Pack. Updating and managing this subproject happens separately from the main app.
The Starter Pack documentation describes the officially-supported features and provides guidance for customizing the docs.
The goal is to override the build configuration of the starter pack as little as possible, so when changes come we don't have to create them. The process isn't completely automatic.
First, run the update script:
make docs-updateThe script will inform you of the files that have changed. Go through each notification and make the proper adjustments so the new and updated features work properly.
In pyproject.toml, remove everything in the docs-starter-pack group.
Then, sync the docs dependencies to the parent project:
make clean
make docs-setup
uv add -r docs/requirements.txt --group docs-starter-packFor safety, test the three main doc commands:
make docs
make docs-auto
make docs-lint