Canonical’s Sphinx Starter Pack 1.6¶
24 March 2026
These release notes cover new features and changes in Canonical’s Sphinx Starter Pack 1.6. The full commit log is available on GitHub.
Bring these changes into your docs:
What’s new in 1.6¶
New extension for redirects¶
If your project has a lot of redirects, they can begin to clutter your build configuration file. To remedy this, we changed the default extension for redirects to sphinx-rerediraffe, a fork of sphinxext-rediraffe that supports external redirects and cleans up destination URLs.
In your docs, you can now list redirects in a redirects.txt file and configure your
project to use them with:
If your project uses relative redirects, these should be rewritten relative to the root of the docs directory.
For example, if you were previously redirecting /how-to/set-up/project/ to
../set-up-project/, the redirect should now read:
Virtual environment path¶
To make the Python virtual environment more discoverable, we moved it from
docs/.sphinx/venv to docs/.venv. This also preserves the .sphinx/
directory’s scope, which is to house static utility files.
Once you’ve replaced all occurrences of the old path, remove the old virtual environment.
Ulwazi testing guide¶
Our new Sphinx theme based on the Vanilla framework, Ulwazi, is now available for testing. To try it out, follow the new guide, Test the Ulwazi theme.
Starter Pack explanation¶
We published Starter pack structure to explain the functionality of and relationships between the core elements of the Starter Pack.
Deprecated features¶
The following features are deprecated and will be removed in an upcoming version of the Starter Pack.
sphinx-reredirects¶
The sphinx-reredirects extension is deprecated in 1.6. Redirects, both internal and external, should now be handled with sphinx-rerediraffe.
Fixed for 1.6¶
Contributors¶
We would like to express a big thank you to all the people who contributed to this release:
akcano,
AnneCYH,
arturo-seijas,
jahn-junior,
odadacharles,
wctaylor, and
yhontyk