There is a newer version of the record available.

Published August 22, 2024 | Version 2.0.0a2
Software Open

lsst-sqre/documenteer: 2.0.0a2

  • 1. J.Sick Codes Inc.
  • 2. @lsst-sqre
  • 3. Rubin Observatory @lsst / SQuaRE @lsst-sqre

Description

Backwards-incompatible changes

  • All Science Pipelines-related tooling and Sphinx extensions have been removed from Documenteer, and can now be found in a new Science Pipelines package called sphinxutils (https://github.com/lsst-dm/sphinxutils). Specific removals include:

    • documenteer.stackdocs
    • Configurations documenteer.conf.pipelines and documenteer.conf.pipelinespkg
    • CLI commands stack-docs and package-docs
    • Sphinx extensions:
      • documenteer.ext.lssttasks
      • documenteer.ext.packagetoctree
      • documenteer.ext.autocppapi
      • documenteer.ext.autodocreset

New features

  • User guide configuration improvements:

    • New custom automodapi templates for Pydantic BaseModels and exceptions. The exception template ensures that inherited members of exceptions are documented. The Pydantic BaseModel template ensures that inherited members from the BaseModel class itself are not documented. These templates were originally developed as part of Gafaelfawr. Now users of the user guide configuration benefit from these templates without any additional configuration.

    • The [guide] installation extra and documenteer.conf.guide configuration now include autodoc_pydantic for improved documentation of Pydantic models in Python API references.

    • The documenteer.conf.guide configuration now ignores common Sphinx warnings that are common when including references to projects that don't use Sphinx/Intersphinx for this documentation, including Pydantic and FastAPI.

  • The entire documenteer code base is now type annotated.

Other changes

  • The code base is now linted and formatted with ruff.
  • Start testing against Sphinx 8.

Full Changelog: https://github.com/lsst-sqre/documenteer/compare/1.4.0...2.0.0a2

Files

lsst-sqre/documenteer-2.0.0a2.zip

Files (784.0 kB)

Name Size Download all
md5:ae1b2a5978413cd089c46630ac08648d
784.0 kB Preview Download

Additional details

Related works