Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 inner api-* shell without becoming desc entries
  • build_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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_ux_autodoc_layout-0.0.1a35.tar.gz (30.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_ux_autodoc_layout-0.0.1a35-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_ux_autodoc_layout-0.0.1a35.tar.gz.

File metadata

File hashes

Hashes for sphinx_ux_autodoc_layout-0.0.1a35.tar.gz
Algorithm Hash digest
SHA256 aec957122a4e20015fd93d5d313d883d934f22fb1f38ec6edcb19d475f6e10b9
MD5 cd8044723f83b6f5ad5882cee8c8494e
BLAKE2b-256 3475b6b218eb91a7fd24710ebafd4e0be7e3a1a598a7adb389d330a47719345d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_ux_autodoc_layout-0.0.1a35.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_ux_autodoc_layout-0.0.1a35-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_ux_autodoc_layout-0.0.1a35-py3-none-any.whl
Algorithm Hash digest
SHA256 69110289993ed8be86ba256c2f833f31e6b7628c858a5fa6842ed2d93a9a1ee6
MD5 1268798f9a1fa764c5c017a6ad21015b
BLAKE2b-256 3e323bc568bb987755aeb2617054c2949f83ff552e05a8de6d33cf5602b2044b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_ux_autodoc_layout-0.0.1a35-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.

Release history Release notifications | RSS feed

This release

0.0.1a35 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page