epythet.sphinx_ext¶
epythet’s Sphinx extension: the normalizer, agent link relations and theme CSS.
Listed automatically in the generated configuration
(extensions = [..., "epythet.sphinx_ext"]); usable on its own in any
conf.py too. It registers:
the docstring normalizer on
autodoc-process-docstring(priority 400, so it runs before napoleon), seeepythet.normalizer;the
<link rel="alternate" type="text/markdown">/rel="describedby"relations on every HTML page whenepythet_agent_outputsis on, seeepythet.agent_outputs;the theme accent stylesheet
_static/epythet.csswhen the chosen theme takes its colours from CSS variables (epythet_theme_css);the build provenance (
epythet_build_info): the one-line footer appended to the landing page, the documented-module counts on the about page, andbuild_info.jsonat the site root, seeepythet.provenance.
Functions
|
Register epythet's hooks and configuration values (idempotent). |
|
|