Skip to main content

Sphinx extension for documenting docutils directives and roles as first-class reference entries

Project description

sphinx-autodoc-docutils

Sphinx extension for turning docutils directives and roles into copyable reference entries inside your docs site.

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
```

For module-wide reference pages:

.. autodirective-index:: my_project.docs_ext
.. autodirectives:: my_project.docs_ext

.. autorole-index:: my_project.docs_roles
.. autoroles:: my_project.docs_roles

Documentation

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

Project details


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.1a6.tar.gz (7.2 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.1a6-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sphinx_autodoc_docutils-0.0.1a6.tar.gz
Algorithm Hash digest
SHA256 208073e621e391b701153ea7d813785d3b1886863b6132ad28b69d3a4f297c42
MD5 aa85191eb76ff1d4e6f3629512857536
BLAKE2b-256 cfa6b90fcad8db3a135acaf6d5e0a5211bc257f44f730dc84d661bcbef9c2577

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sphinx_autodoc_docutils-0.0.1a6-py3-none-any.whl
Algorithm Hash digest
SHA256 a73998b61bce4c8f30f69bab38e9392a5adf29ec3d1dddd6f326db66d72b504e
MD5 bfe71f5a2af102da7ff761416447476a
BLAKE2b-256 d917c9eca6cf7c08cc86796865f34352c3413638b2c76eaa2f960afd759bf18e

See more details on using hashes here.

Provenance

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

Supported by

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