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 the objects extensions register with Sphinx — config values from app.add_config_value(), builders from app.add_builder(), and domains from app.add_domain() — as copyable 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

Builders and domains follow the same single + bulk pattern:

.. autobuilder:: my_project.builders.ZipBuilder

.. autodomains:: my_project

Builder and domain entries register targets in a sphinxext Sphinx domain, so prose can cross-reference them with roles like :sphinxext:builder:`ZipBuilder`.

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.1a30.tar.gz (18.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.1a30-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_autodoc_sphinx-0.0.1a30.tar.gz
  • Upload date:
  • Size: 18.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.1a30.tar.gz
Algorithm Hash digest
SHA256 9d99385c6eccc958b713be1c3492634660fe0fdc8c1a43455de3e10ca47be169
MD5 262401a39d544fa2e19193e2fd3c874a
BLAKE2b-256 1d3c57c3960bdb5c2f5307098c29a627c3295895e60fb3fd4a823c49a5526116

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sphinx_autodoc_sphinx-0.0.1a30-py3-none-any.whl
Algorithm Hash digest
SHA256 a911412e238e6e56e9c94f827a9c1e164de77c89244c572f6387e44af4addb65
MD5 da598d1ca8c30264ff92be216addda8d
BLAKE2b-256 5020de1a6de0de48d44e48579c3d642c32735c2d66b77da2f4a16d3fc982827e

See more details on using hashes here.

Provenance

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