Skip to main content

Sphinx extension for documenting extension config values as first-class conf.py reference entries

Project description

sphinx-autodoc-sphinx

Sphinx extension for documenting config values registered by app.add_config_value() as copyable conf.py reference entries.

Rendered entries use the shared stack: sphinx_ux_autodoc_layout owns the visible api-* structure, sphinx_ux_badges owns badge output, and sphinx_autodoc_typehints_gp is auto-loaded so displayed config types follow the same annotation rules as the rest of the autodoc family.

Install

$ pip install sphinx-autodoc-sphinx

Usage

extensions = ["sphinx_autodoc_sphinx"]

Then document one config value:

```{eval-rst}
.. autoconfigvalue:: sphinx_fonts.sphinx_font_preload
```

Or generate a full reference section for an extension module:

.. autoconfigvalue-index:: sphinx_fonts
.. autoconfigvalues:: sphinx_fonts

.. autoconfigvalue-page:: sphinx_autodoc_argparse.exemplar

Documentation

See the full documentation for live demos, generated confval entries, and downstream usage patterns.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_autodoc_sphinx-0.0.1a12.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_autodoc_sphinx-0.0.1a12-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_autodoc_sphinx-0.0.1a12.tar.gz.

File metadata

  • Download URL: sphinx_autodoc_sphinx-0.0.1a12.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sphinx_autodoc_sphinx-0.0.1a12.tar.gz
Algorithm Hash digest
SHA256 55997a5586bbc68c688dc8a51130a8cffdd3c8eac4e185a911969482cd1c2dab
MD5 6b65d438ae3bbb137cd902de20b544af
BLAKE2b-256 a62dba6b1f1f45887207a5a882fac4a61fc421fddcf0468648c3d29beb66e10e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_autodoc_sphinx-0.0.1a12.tar.gz:

Publisher: release.yml on git-pull/gp-sphinx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sphinx_autodoc_sphinx-0.0.1a12-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_autodoc_sphinx-0.0.1a12-py3-none-any.whl
Algorithm Hash digest
SHA256 80ebbec4024ea6cd5a8a13d02e99f2d6c72607e972597475adc6de3c1b7417d0
MD5 10c4eb1f8572545c35942f81e0961de7
BLAKE2b-256 79f404dea09a115275bf54ba923d7b0e8c9a3c19942a3b090f0e0d656bc6c902

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_autodoc_sphinx-0.0.1a12-py3-none-any.whl:

Publisher: release.yml on git-pull/gp-sphinx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page