Python API reference¶
Modules
documenteer.sphinxconfig.stackconf Module¶
Sphinx configuration defaults for LSST Stack packages.
Notes¶
Some configurations based on astropy-helpers https://github.com/astropy/astropy-helpers/blob/master/astropy_helpers/sphinx/conf.py see licenses/astropy-helpers.txt
Functions¶
|
Builds a |
|
Build a |
documenteer.sphinxconfig.technoteconf Module¶
Sphinx configuration bootstrapping for LSST Technical Notes.
Functions¶
|
Builds a |
documenteer.sphinxconfig.utils Module¶
Utilities for sphinx configuration.
Functions¶
|
Form the LSST the Docs edition name for this branch, using the same logic as LTD Keeper does for transforming branch names into edition names. |
|
Get relative filepaths of files in a directory, and sub-directories, with the given extension. |
|
Get the datetime for the most recent commit to a project that affected Sphinx content. |
Obtain the current branch name from the Git repository. |
|
|
Obtain the timestamp from the current head commit of a Git repository. |
|
Obtain the timestamp for the most recent commit to a given file in a Git repository. |
documenteer.sphinxext Package¶
Sphinx/docutils extensions for LSST DM documentation.
Enable these extension by adding documenteer.sphinxext
to your
extensions list in conf.py
:
extensions = [
# ...
'documenteer.sphinxext'
]
Some extensions require project-specific dependencies and are not automatically enabled. They should be specified individually. They are:
documenteer.sphinxext.bibtex
documenteer.sphinxext.bibtex Module¶
Extensions to support LSST bibliographies with sphinxcontrib-bibtex.
Classes¶
|
Bibtex style that understands |
documenteer.sphinxext.jira Module¶
JIRA ticket reference roles (for stories, epics, RFCs, etc.).
This module is heavily influenced by sphinx-issue (Steven Loria). See /licenses/sphinx-issue.txt for licensing information.
Functions¶
|
Sphinx role for referencing a JIRA ticket with ticket numbers enclosed in braces. |
|
Sphinx role for referencing a JIRA ticket with ticket numbers enclosed in parentheses. |
|
Sphinx role for referencing a JIRA ticket. |
|
documenteer.sphinxext.mockcoderefs Module¶
Sphinx extensions to mock Python code reference roles.
These roles are useful for temporarily adding semantically-markedup APIs while waiting for the API reference itself to be added.
Functions¶
|
|
|
documenteer.sphinxext.packagetoctree Module¶
Sphinx extensions for creating toctrees for packages and modules for the Pipelines documentation.
Classes¶
|
Toctree that automatically displays a list of modules in the Stack documentation. |
|
Toctree that automatically lists packages in the Stack documentation. |
documenteer.stackdocs.build Module¶
Stack documentation build system.
Functions¶
|
Build stack Sphinx documentation (main entrypoint). |
documenteer.stackdocs.doxygen Module¶
Configuration and execution of Doxygen at the stack level.
Functions¶
|
Preprocess a Doxygen configuration for an individual package that is based on a package’s |
Render the mainpage.dox page that provides content for the Doxygen subsite’s homepage. |
|
Get the path to the doxygen configuration file included with Documenteer. |
|
Get the path to the Doxygen tag file for cppreference.com that’s included with Documenteer. |
|
|
Run Doxygen. |
Classes¶
|
A restricted Doxygen configuration. |
documenteer.stackdocs.packagecli Module¶
Implements the package-docs
CLI for single-package documentation builds
in the LSST Stack.
documenteer.stackdocs.pkgdiscovery Module¶
Utilities for discovering packages in a stack and discovering attributes and their documentation.
Functions¶
|
Summarize packages currently set up by EUPS, listing their set up directories and EUPS version names. |
|
Find the EUPS table file for a project. |
|
List the names of packages that are required by an EUPS table file. |
|
Find documentation directories in a package using |
documenteer.stackdocs.rootdiscovery Module¶
Utilities for detecting the root directory of Sphinx documentation.
Functions¶
|
Discover the |
|
Discover the directory containing the conf.py file. |
documenteer.stackdocs.stackcli Module¶
Implements the stack-docs
CLI for stack documentation builds.
documenteer.requestsutils Module¶
Utilities for working with requests.
Functions¶
|
Create a requests session that handles errors by retrying. |
documenteer.sphinxrunner Module¶
Run Sphinx directly through its Python API.
Functions¶
|
Run the Sphinx build process. |