Python API reference#
technote Package#
Rubin Observatory’s framework for Sphinx-based technote documents.
Functions#
|
Sphinx entrypoint for technote. |
Variables#
The version string of technote (PEP 440 compatible). |
technote.config Module#
Technote configuration models (for technote.toml).
technote.toml is used both for setting document metadata and also configuring the Sphinx build. Users of Technote can also add tables to technote.toml to support their technote plugins and build infrastructure.
Classes#
A model of a |
|
The root table for technote configuration, |
|
A model for |
|
A model for the technote's status. |
|
|
Standardized states for a technote. |
Model for describing an organization (often as an affiliation). |
|
A person's name. |
|
Model for describing a person related to the technote. |
|
Data about a contributor. |
|
The |
|
Intersphinx configuration in the |
|
Linkcheck builder configurations in the |
|
|
A wrapper around |
|
A class available to the Jinja context in HTML templates and provides access to technote.toml-based metadata. |
Class Inheritance Diagram#
technote.ext Package#
Sphinx extensions for Technote documents.
Functions#
|
Set up Technote's own Sphinx extensions; these are automatically loaded in all technotes by default. |
technote.ext.abstract Module#
Support for abstracts in technotes.
Functions#
|
Add HTML content before the AbstractNode. |
|
Add HTML content after the AbstractNode. |
Classes#
|
The |
|
A docutils node for the abstract content section. |
Class Inheritance Diagram#
technote.ext.metadata Module#
Sphinx extension for introspecting and exporting technote metadata.
Functions#
|
Process the HTML page to prepare the context for the HTML templates. |
|
Get the abstract as plain text from the abstract directive. |
|
Get the H1 title to use as the technote title. |
|
Set the |
technote.metadata Package#
Bibliographic metadata interfaces.
technote.metadata.orcid Module#
The ORCiD identifier.
Classes#
|
An ORCiD type for Pydantic validation. |
|
An error validating an ORCiD identifier, raised by Pydantic. |
Class Inheritance Diagram#
technote.metadata.ror Module#
Support for ROR (Research Organization Registry) identifiers.
Classes#
|
A ROR (Research Organization Registry) type for Pydantic validation. |
|
An error validating a ROR identifier, raised by Pydantic. |
Class Inheritance Diagram#
technote.metadata.spdx Module#
Interface to SPDX license metadata.
Classes#
A license item as contained in a SpdxFile. |
|
Representation of a SPDX license database file as a Pydantic model. |
|
|
License database, with access by license ID. |
Class Inheritance Diagram#
technote.metadata.zenodo Module#
Zenodo API support and controlled vocabularies.
Classes#
|
The role of a contributor in a Zenodo record. |