Shared documentation tooling for Kataglyphis repositories. With the sibling
sphinx-kataglyphis-theme/ package it makes DocumANTation the
single source of truth for how the Kataglyphis docs sites are themed, templated and generated.
Downstream repos consume it as a git submodule.
| Path | Purpose |
|---|---|
source_templates/sphinx-book/ |
Landing-page template for a docs site, and how to call setup_theme() — see its README |
Only genuinely shared things live here. Three former residents left:
source_templates/sphinx-book/conf_base.pyand its generatedcustom.csscopy, a Sphinx baseline that AccelerANTgine and BeschleunigerBallett loaded by file path, were deleted once both calledsetup_theme()(2026-10-19).source_templates/sphinx-python/, a baseline for Python API docs (autodoc/napoleon), was removed: an org-wide audit found noconf.pythat read it, and it importssphinx_kataglyphis, so any consumer able to load it could callsetup_theme()instead and get the brand CSS and shared code palette the baseline lacked.git log -- docs-tooling/source_templates/sphinx-python/has it if a Python project wants the autodoc defaults back.sync_versions.pyandgenerate-website-licenses.pymoved back to ANTfrastructure: they read that repo'slinux/Dockerfile.*,windows/Dockerfile*andversions.env, so no other consumer could run them, and keeping them here cost a submodule commit and a pin bump on every ANTfrastructure version bump.
The Sphinx theme (the setup_theme() helper, scaffold CLI and base CSS) is a separate package
in ../sphinx-kataglyphis-theme, so consumers can pip install -e
it.
Colours and fonts are not defined here. They live once in
../style/brand.json and are generated into the LaTeX, Pandoc, CSS and JSON
consumers; style/README.md shows how to read the brand from Python,
Sphinx, LaTeX or any other language.
Add this repo as a submodule (the family layout puts it under third_party/):
git submodule add https://github.com/Kataglyphis/DocumANTation third_party/DocumANTationThen install the theme package and call setup_theme():
source_templates/sphinx-book/README.md. There is
deliberately no copy-the-files route: every copy this repo handed out drifted.