A Sphinx extension for writing SageMath-style documentation¶
A Sphinx extension for writing SageMath-style documentation
This extension sets up: - the styling theme - intersphinx: enables crosslinks to the Python and SageMath documentation - extlinks: short hand roles for wikipedia, trac, arxiv, …
-
sage_package.sphinx.
setup
(app)¶ Initialize this Sphinx extension
-
sage_package.sphinx.
themes_path
()¶ Retrieve the location of the themes directory from the location of this package
This is taken from Sphinx’s theme documentation