Documenteer¶
Sphinx extensions, configurations, and tooling for LSST Data Management documentation projects.
Documenteer is developed on GitHub at https://github.com/lsst-sqre/documenteer.
Pipelines projects¶
Sphinx extensions¶
Python API reference¶
documenteer.sphinxconfig.stackconf Module¶
Functions¶
|
Builds a |
|
Build a |
documenteer.sphinxconfig.technoteconf Module¶
Functions¶
|
Builds a |
documenteer.sphinxconfig.utils Module¶
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¶
documenteer.sphinxext.bibtex Module¶
documenteer.sphinxext.jira Module¶
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¶
Functions¶
|
|
|
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 |
|
Run Doxygen. |
Classes¶
|
A restricted Doxygen configuration. |
Class Inheritance Diagram¶
digraph inheritance9378903a35 { rankdir=LR; size="8.0, 12.0"; "DoxygenConfiguration" [URL="api/documenteer.stackdocs.doxygen.DoxygenConfiguration.html#documenteer.stackdocs.doxygen.DoxygenConfiguration",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="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 |
Classes¶
|
Metadata about a stack package’s documentation content. |
Exception raised when documentation is not found for an EUPS package. |
Class Inheritance Diagram¶
digraph inheritance91459828b0 { rankdir=LR; size="8.0, 12.0"; "NoPackageDocs" [URL="api/documenteer.stackdocs.pkgdiscovery.NoPackageDocs.html#documenteer.stackdocs.pkgdiscovery.NoPackageDocs",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Exception raised when documentation is not found for an EUPS package."]; "Package" [URL="api/documenteer.stackdocs.pkgdiscovery.Package.html#documenteer.stackdocs.pkgdiscovery.Package",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Metadata about a stack package's documentation content."]; }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¶
Functions¶
|
Create a requests session that handles errors by retrying. |
documenteer.sphinxrunner Module¶
Functions¶
|
Run the Sphinx build process. |