Documenteer#
Sphinx extensions, configurations, and tooling for Rubin Observatory documentation projects.
Documenteer is developed on GitHub at lsst-sqre/documenteer. Find other versions of the documentation at https://documenteer.lsst.io/v
Installation#
The core package provides Documenteer’s Sphinx extensions:
pip install documenteer
To use Documenteer’s configurations for specific Rubin documentation use cases, you’ll need to install Documenteer with specific “extras” to bring in the necessary dependencies.
For Rubin user guide projects:
pip install "documenteer[guide]"
For technote projects:
pip install "documenteer[technote]"
For LSST Science Pipelines projects and other EUPS stacks:
pip install "documenteer[pipelines]"
See Installing Documenteer for pipelines.lsst.io for more information.
Documenteer is available from conda-forge for Conda users. First, enable the conda-forge channel:
conda config --add channels conda-forge
conda config --set channel_priority strict
The core package provides Documenteer’s Sphinx extensions:
conda install documenteer
To use Documenteer’s configurations for specific Rubin documentation use cases, you’ll need to install Documenteer with specific “extras” to bring in the necessary dependencies.
To install Documenteer for technote projects:
conda-install lsst-documenteer-technote
To install Documenteer for LSST Stack projects (such as https://pipelines.lsst.io and EUPS packages):
conda-install lsst-documenteer-pipelines
Project guides#
Documenteer provides centralized Sphinx configuration and support for Rubin Observatory documentation projects. This section describes how to use Documenteer for specific types of projects, from single-page technical notes to user guides, to LSST Science Pipelines package documentation.
- Rubin user guides
- Rubin user guide features
- Setting up the Documenteer configuration for Rubin user guides
- Organizing content in a Rubin user guide
- Configuring Python projects in documenteer.toml
- Embedding a Redoc subsite for OpenAPI (HTTP API) documentation
- Using the rst epilog for common links and substitutions
- Extending conf.py directly
- Diagrams as code
- Badges
- Tab sets
- Pipelines
- documenteer.toml reference
- The documenteer.conf.guide configuration preset
- Technical notes
- Start a new technote
- Edit a technote on your own computer
- Editing a technote with the GitHub web UI
- How your technote gets published to the web
- Migrate legacy Sphinx technical notes
- Maintaining author metadata
- Describing the document status (draft, deprecated, or stable)
- Configuring the Sphinx build
- Sphinx extensions in technotes
Sphinx extensions#
Documenteer provides several Sphinx extensions. These extensions are designed for Rubin Observatory documentation projects, but are may be generally useful:
- Sphinx extensions
- Jira reference roles
- LSST document reference roles
- BibTeX style extension for Rubin Observatory
- Sourcing BibTeX files from GitHub
- The remote code block extension
- Including OpenAPI documentation for web applications (documenteer.ext.openapi)
- The autodocreset extension for resetting automodapi’s autodoc enhancements
- Sphinx extensions for the LSST Science Pipelines task framework
- The autocppapi extension for listing Doxylink C++ APIs through Doxylink
- Package toctree extension for LSST Stack documentation