Skip to main content
Pre-release

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

sphinx-autodoc-api-style

Sphinx extension that adds type and modifier badges and card-style containers to standard Python domain autodoc entries (functions, classes, methods, properties, attributes, data, exceptions).

Internally it is now a thin metadata producer on top of the shared stack: sphinx_ux_badges owns badge rendering and sphinx_ux_autodoc_layout owns the api-* entry structure and type rendering.

Install

$ pip install sphinx-autodoc-api-style

Installing this package also installs sphinx-ux-badges and sphinx-ux-autodoc-layout as declared dependencies.

Usage

extensions = ["sphinx_autodoc_api_style"]

No special directives are required — existing .. autofunction::, .. autoclass::, and related directives receive badges automatically.

sphinx_autodoc_api_style automatically registers sphinx_ux_badges and sphinx_ux_autodoc_layout via app.setup_extension(). You do not need to add them separately to your extensions list.

Documentation

See the full documentation for demos and the badge reference.

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_api_style-0.1.0a37.tar.gz (9.5 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_api_style-0.1.0a37-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_autodoc_api_style-0.1.0a37.tar.gz.

File metadata

File hashes

Hashes for sphinx_autodoc_api_style-0.1.0a37.tar.gz
Algorithm Hash digest
SHA256 e7cec5b2c95a514536f5c30be1e2df4351ae4d9344cab33709cb08b724826e52
MD5 37070f3352f7869756bca5e49481714f
BLAKE2b-256 8fcdc6180e600d4d7acc9d786eaa34f6b8f853f7f5246d261cf9db5ffdd2548c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_autodoc_api_style-0.1.0a37.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_api_style-0.1.0a37-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_autodoc_api_style-0.1.0a37-py3-none-any.whl
Algorithm Hash digest
SHA256 2a135e8ec86cf56e4c8883f6f07839d2ae0268d9e3f5548f8b0e7433b396fa60
MD5 6e4f4025764b073899e981632ca8402a
BLAKE2b-256 95f1f8e63d4c979c7a11180bb6a72a204cbc5a1706e5e7178ab09ae27eeb65a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_autodoc_api_style-0.1.0a37-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.1.0a37 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page