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-4.2.0.tar.gz (92.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-4.2.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for invoke_plugin_for_sphinx-4.2.0.tar.gz
Algorithm Hash digest
SHA256 9224606411729c51f8719f5685e8ab52a1335c35a414fb0d393e6b63f2010b80
MD5 017858345c7930294eda7ab68bb268b9
BLAKE2b-256 0fb0598f765c89366d4a1c325c5dcce1ce82243561f6ff12a86fcf5aa62db1c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for invoke_plugin_for_sphinx-4.2.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-4.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for invoke_plugin_for_sphinx-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74784be162f689508a9933760dfd4b31a92ddc2b0c0e0a57a8985feaa3541a23
MD5 34b699f19858e93704966bd32573dadb
BLAKE2b-256 094b43de02bba72a0bfca2ae736d5fe0c5340e226d4dadc1c71453f2c849dcb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for invoke_plugin_for_sphinx-4.2.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