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.1a8.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.1a8-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_autodoc_sphinx-0.0.1a8.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.1a8.tar.gz
Algorithm Hash digest
SHA256 9e50832cb1c027040d8761e5283d259b25c5dd55d84f21616e4f8061233c71f8
MD5 0a3fefab63b3986787344a081a7c6546
BLAKE2b-256 e3323b7e34a0cd556316fe6778807871dc3030aa972045c54591f378eec02005

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sphinx_autodoc_sphinx-0.0.1a8-py3-none-any.whl
Algorithm Hash digest
SHA256 fbed9e688da3f40fc1b72b4d2ceefa613e41f3c8b1637a1445b4295145a48f05
MD5 ea368760e9e220d2be78571a965497b3
BLAKE2b-256 38eb1310ecdfdbe0ef372d8907815abcf1e320bfca0049a04422561f19880a59

See more details on using hashes here.

Provenance

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