Componentized layout for Sphinx autodoc output
Project description
sphinx-ux-autodoc-layout
Componentized layout for Sphinx autodoc output. It preserves Sphinx's
outer dl / dt / dd structure while rebuilding managed object-description
entries into stable api-* components. The current shared layout covers
Python API objects, pytest fixtures, Sphinx confval entries, docutils
rst:* entries, and internal FastMCP mcp:tool prototypes used to validate
future consolidation work.
The extension keeps header composition in a late doctree-resolved pass so
badges, source links, and permalinks can be positioned independently without
raw HTML mutation. Large signatures can fold into native multiline signature
markup, and expanded folded signatures show annotations by default via
api_signature_show_annotations.
For shared consumers, the public helper surface now includes:
build_api_card_entry()for section-card consumers that need the same innerapi-*shell without becomingdescentriesbuild_api_summary_section()for summary/index wrappers such as config and fixture tables
Install
$ pip install sphinx-ux-autodoc-layout
Usage
Standalone Sphinx project:
extensions = ["sphinx.ext.autodoc", "sphinx_ux_autodoc_layout"]
api_layout_enabled = True
With gp-sphinx:
conf = merge_sphinx_config(
...,
extra_extensions=["sphinx_ux_autodoc_layout"],
api_layout_enabled=True,
)
Documentation
See the full documentation for configuration reference, CSS classes, and live demos.
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_ux_autodoc_layout-0.0.1a26.tar.gz.
File metadata
- Download URL: sphinx_ux_autodoc_layout-0.0.1a26.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf59158277ad7e5d74f00e6e514181e81380e319d56685dc8b39c87e3d320c2d
|
|
| MD5 |
32e69431d0973bb4bc6a73c499926584
|
|
| BLAKE2b-256 |
ab2ecd1655334695d82d946764b9946266fc8c1179598b716b6b14c0147eb2c8
|
Provenance
The following attestation bundles were made for sphinx_ux_autodoc_layout-0.0.1a26.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_ux_autodoc_layout-0.0.1a26.tar.gz -
Subject digest:
cf59158277ad7e5d74f00e6e514181e81380e319d56685dc8b39c87e3d320c2d - Sigstore transparency entry: 1629670085
- Sigstore integration time:
-
Permalink:
git-pull/gp-sphinx@16e555f9eaf5fab0eaaae2c5b0af39a5df44263d -
Branch / Tag:
refs/tags/v0.0.1a26 - Owner: https://github.com/git-pull
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@16e555f9eaf5fab0eaaae2c5b0af39a5df44263d -
Trigger Event:
push
-
Statement type:
File details
Details for the file sphinx_ux_autodoc_layout-0.0.1a26-py3-none-any.whl.
File metadata
- Download URL: sphinx_ux_autodoc_layout-0.0.1a26-py3-none-any.whl
- Upload date:
- Size: 33.1 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 |
e154c5fa374fa184ffd3e91f346612c4e90f156542b78cf08c5cd445e59f2b09
|
|
| MD5 |
7c82298b337d582107e4c6b79fcb6b12
|
|
| BLAKE2b-256 |
5ee66eafc3a2d47e9212f0717020ba121b7d0254fb36beda92a7b5c6976c2a6a
|
Provenance
The following attestation bundles were made for sphinx_ux_autodoc_layout-0.0.1a26-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_ux_autodoc_layout-0.0.1a26-py3-none-any.whl -
Subject digest:
e154c5fa374fa184ffd3e91f346612c4e90f156542b78cf08c5cd445e59f2b09 - Sigstore transparency entry: 1629670810
- Sigstore integration time:
-
Permalink:
git-pull/gp-sphinx@16e555f9eaf5fab0eaaae2c5b0af39a5df44263d -
Branch / Tag:
refs/tags/v0.0.1a26 - Owner: https://github.com/git-pull
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@16e555f9eaf5fab0eaaae2c5b0af39a5df44263d -
Trigger Event:
push
-
Statement type: