Skip to main content

Sphinx plugin which can render invoke tasks with autodoc

Project description

REUSE status Code style: black Imports: isort PyPI version Coverage Status

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.

Development

This project uses uv. To setup a venv for development use python3.14 -m venv venv && pip install uv && uv sync --all-groups && rm -rf venv/. Then use source .venv/bin/activate to activate your venv.

Build and Publish

Execute the release action with the proper version.

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 2026 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-5.0.0.tar.gz (98.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invoke_plugin_for_sphinx-5.0.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: invoke_plugin_for_sphinx-5.0.0.tar.gz
  • Upload date:
  • Size: 98.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for invoke_plugin_for_sphinx-5.0.0.tar.gz
Algorithm Hash digest
SHA256 ba03da5e41a583f9347cc082bb2d5b4e8894200e33b7ca5c04e4aeb7ef4f7cc7
MD5 1054a68a4a597b4730eaab0fa98fead0
BLAKE2b-256 b51501d6543076db97b7faf2453eb1e2311cb34e6f6410cc86f903ddea653fce

See more details on using hashes here.

Provenance

The following attestation bundles were made for invoke_plugin_for_sphinx-5.0.0.tar.gz:

Publisher: release.yml on SAP/invoke-plugin-for-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 invoke_plugin_for_sphinx-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for invoke_plugin_for_sphinx-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e158614f9d0f9e5b00bf873464e443087099fe093a0bfc7dc0f7105a1443bbc1
MD5 6a5d0a4db10965dc415fc7e8e425ac42
BLAKE2b-256 2f9ffac53114003b11511eb752f13caee6f3e7035112be083e099cad1f39c205

See more details on using hashes here.

Provenance

The following attestation bundles were made for invoke_plugin_for_sphinx-5.0.0-py3-none-any.whl:

Publisher: release.yml on SAP/invoke-plugin-for-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