Skip to main content

Sphinx plugin which can render invoke tasks with autodoc

Project description

REUSE status Code style: black Imports: isort PyPI version

Invoke Plugin for Sphinx

This is a plugin which allows the documentation of invoke tasks with sphinx autodoc. An invoke task looks like a normal function but the @task decorator creates a Task object behind the scenes. Documenting these with autodoc can lead to errors or unexpected results.

Installation

pip install invoke-plugin-for-sphinx, that's it.

Usage

Add the plugin to the extensions list:

extensions = ["invoke_plugin_for_sphinx"]

Then you can use .. automodule:: as usual. Behind the scenes, the function documenter of autodoc is extended to also handle tasks equal to functions. Therefore the same configurations, limitations and features apply.

Build and Publish

This project uses setuptools as the dependency management and build tool. To publish a new release, follow these steps:

  • Update the version in the pyproject.toml
  • Add an entry in the changelog
  • Push a new tag like vX.X.X to trigger the release

Support, Feedback, Contributing

This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2024 SAP SE or an SAP affiliate company and invoke-plugin-for-sphinx contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

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

invoke_plugin_for_sphinx-3.0.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file invoke_plugin_for_sphinx-3.0.0.tar.gz.

File metadata

File hashes

Hashes for invoke_plugin_for_sphinx-3.0.0.tar.gz
Algorithm Hash digest
SHA256 ce6e7af826ad24ec1e6a88dcf604f3220b1b72a58bde474295fe3b9d73a84e00
MD5 6ab022fc9436a20b5da1191dc1413266
BLAKE2b-256 63f62cd3366dbbb1da55315eee314128f8d07388bab648191d96686eafd55639

See more details on using hashes here.

File details

Details for the file invoke_plugin_for_sphinx-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for invoke_plugin_for_sphinx-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10b682f79170b246f20b4b3b9555480fc98c30010491b60d18b96a39c16186a8
MD5 b476fad9063540e25cdb134d57f85d0e
BLAKE2b-256 9786e31c89592fd126bca959bcee7c6669be927deacbed2f1b0327fd5bb51e4f

See more details on using hashes here.

Supported by

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