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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_autodoc_sphinx-0.0.1a9.tar.gz.
File metadata
- Download URL: sphinx_autodoc_sphinx-0.0.1a9.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
353cc2389048c452e956ca3f3257217f58a3dba9e6acc3e08d90411808797e67
|
|
| MD5 |
726acac1971a077b021661d1acc8919e
|
|
| BLAKE2b-256 |
574104fe509e35e7c7cc42e9ba0e8ac73ca1a3b8d9c75839563f0873c1d93882
|
Provenance
The following attestation bundles were made for sphinx_autodoc_sphinx-0.0.1a9.tar.gz:
Publisher:
release.yml on git-pull/gp-sphinx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_autodoc_sphinx-0.0.1a9.tar.gz -
Subject digest:
353cc2389048c452e956ca3f3257217f58a3dba9e6acc3e08d90411808797e67 - Sigstore transparency entry: 1340618584
- Sigstore integration time:
-
Permalink:
git-pull/gp-sphinx@1311ea00a413d078ebde7fcce2e93d4913d8b7d6 -
Branch / Tag:
refs/tags/v0.0.1a9 - Owner: https://github.com/git-pull
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1311ea00a413d078ebde7fcce2e93d4913d8b7d6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sphinx_autodoc_sphinx-0.0.1a9-py3-none-any.whl.
File metadata
- Download URL: sphinx_autodoc_sphinx-0.0.1a9-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
926b43441b223968a3858eec713b9927679d13e13a8361c6c2a2dbb1d16a6a72
|
|
| MD5 |
c0c92e895bd838c955efba942a619734
|
|
| BLAKE2b-256 |
067ffd8233447ef3bcb65451cf6a19d90e0618987a69c8df8b58f842a6adbddd
|
Provenance
The following attestation bundles were made for sphinx_autodoc_sphinx-0.0.1a9-py3-none-any.whl:
Publisher:
release.yml on git-pull/gp-sphinx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_autodoc_sphinx-0.0.1a9-py3-none-any.whl -
Subject digest:
926b43441b223968a3858eec713b9927679d13e13a8361c6c2a2dbb1d16a6a72 - Sigstore transparency entry: 1340618604
- Sigstore integration time:
-
Permalink:
git-pull/gp-sphinx@1311ea00a413d078ebde7fcce2e93d4913d8b7d6 -
Branch / Tag:
refs/tags/v0.0.1a9 - Owner: https://github.com/git-pull
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1311ea00a413d078ebde7fcce2e93d4913d8b7d6 -
Trigger Event:
push
-
Statement type: