Skip to main content
Pre-release

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

sphinx-autodoc-docutils

Sphinx extension for turning docutils components — directives, roles, transforms, readers, parsers, writers, custom nodes, and translators — into copyable reference entries inside your docs site.

The extension keeps its semantic rst:* parse path, but the rendered body regions, badges, and shared type formatting now come from sphinx_ux_autodoc_layout, sphinx_ux_badges, and sphinx_autodoc_typehints_gp.

Install

$ pip install sphinx-autodoc-docutils

Usage

extensions = ["sphinx_autodoc_docutils"]

Then document directive classes and role callables with eval-rst:

```{eval-rst}
.. autodirective:: my_project.docs_ext.MyDirective
```

```{eval-rst}
.. autorole:: my_project.docs_roles.cli_option_role
```

Every docutils extension point gets the same single + bulk pair:

.. autotransform:: my_project.transforms.SanitizeTransform

.. autoreader:: my_project.readers.ArticleReader

.. autoparser:: my_project.parsers.LineParser

.. autowriter:: my_project.writers.PlainWriter

.. autonode:: my_project.nodes.icon

.. autotranslator:: my_project.writers.PlainTranslator

For module-wide reference pages:

.. autodirectives:: my_project.docs_ext

.. autoroles:: my_project.docs_roles

.. autotransforms:: my_project

Component entries register targets in a docutils Sphinx domain, so prose can cross-reference them with roles like :docutils:transform:`SanitizeTransform`.

Documentation

See the full documentation for live demos, directive option rendering, and downstream usage patterns.

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_docutils-0.0.1a36.tar.gz (22.8 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_docutils-0.0.1a36-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_autodoc_docutils-0.0.1a36.tar.gz.

File metadata

File hashes

Hashes for sphinx_autodoc_docutils-0.0.1a36.tar.gz
Algorithm Hash digest
SHA256 f4ff0f70f10674e62dd2d580e032214f124c6646a7691afae232ab6025d19930
MD5 56333e27cf899e274be727eb8d384636
BLAKE2b-256 94e9ac99b8b4eb25bb6b8d09bbc80e6b8123201500e1c4d1d5c58c0e820730ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_autodoc_docutils-0.0.1a36.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_docutils-0.0.1a36-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_autodoc_docutils-0.0.1a36-py3-none-any.whl
Algorithm Hash digest
SHA256 f8b0ee8173f3a9e6f60c3571f60c58eeceb692772cf86194d09ee9d9e19e9221
MD5 314f7add94c5d85874b9c709913b6ed1
BLAKE2b-256 80b41e1182d2bfd4f980e92fe4e2d0a00ffd2858dc94919c56a059103c98d664

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_autodoc_docutils-0.0.1a36-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.1a36 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