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:

.. autoconfigvalues:: sphinx_fonts

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.1a21.tar.gz (9.1 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.1a21-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_autodoc_sphinx-0.0.1a21.tar.gz
  • Upload date:
  • Size: 9.1 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.1a21.tar.gz
Algorithm Hash digest
SHA256 e030a1d41096f6502ac85ab8ea17e146b32d75c5f38d70e8043bde3784bc385d
MD5 0b1d475cd78f44cb92daf1dfdb9c5f0f
BLAKE2b-256 0003cf005af832af48fa8cc5d3a2a3785714c44cfa76b2c3c5968f1584ef88f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_autodoc_sphinx-0.0.1a21.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.1a21-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_autodoc_sphinx-0.0.1a21-py3-none-any.whl
Algorithm Hash digest
SHA256 67ed7adbeac77bc53b978b1b3aacf55b58ba9e24f17805d9afcdefe87fafb162
MD5 9e55c9c7b68e0fea9ee0182b687a4623
BLAKE2b-256 eb397595e35d5974f4d0c8e73f6043e23f111bae4198715ddf91b84711167512

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_autodoc_sphinx-0.0.1a21-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