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.

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

.. autosphinxconfig-index:: sphinx_argparse_neo.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.1a0.tar.gz (8.9 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.1a0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sphinx_autodoc_sphinx-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 68c364d460a844a31298edbc2d73d1f4bc46f6f57630af93bbf17e8b9efe4d57
MD5 0cffce599541e1ff7299e55052adec9c
BLAKE2b-256 b0e1bb253dc1b72c51fa44c9dbed30e0d0b5200d41a9762bc454a8ccbd82a8d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sphinx_autodoc_sphinx-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 963b4e055602d7bf298552e6b653ce59bfd0ec5cad4cfaeb9b07610120bb4c42
MD5 fdf5dbdae5928ea5b172952634edb295
BLAKE2b-256 feaa33466d8c197a33f18f73f364851975f197774c4cafa9298cc9e16b10fc96

See more details on using hashes here.

Provenance

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