Sphinx plugin which can render invoke tasks with autodoc
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba03da5e41a583f9347cc082bb2d5b4e8894200e33b7ca5c04e4aeb7ef4f7cc7
|
|
| MD5 |
1054a68a4a597b4730eaab0fa98fead0
|
|
| BLAKE2b-256 |
b51501d6543076db97b7faf2453eb1e2311cb34e6f6410cc86f903ddea653fce
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
invoke_plugin_for_sphinx-5.0.0.tar.gz -
Subject digest:
ba03da5e41a583f9347cc082bb2d5b4e8894200e33b7ca5c04e4aeb7ef4f7cc7 - Sigstore transparency entry: 1247808808
- Sigstore integration time:
-
Permalink:
SAP/invoke-plugin-for-sphinx@3694da514b6230dca0f7c6621ccdda3ffb473e52 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SAP
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3694da514b6230dca0f7c6621ccdda3ffb473e52 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file invoke_plugin_for_sphinx-5.0.0-py3-none-any.whl.
File metadata
- Download URL: invoke_plugin_for_sphinx-5.0.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e158614f9d0f9e5b00bf873464e443087099fe093a0bfc7dc0f7105a1443bbc1
|
|
| MD5 |
6a5d0a4db10965dc415fc7e8e425ac42
|
|
| BLAKE2b-256 |
2f9ffac53114003b11511eb752f13caee6f3e7035112be083e099cad1f39c205
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
invoke_plugin_for_sphinx-5.0.0-py3-none-any.whl -
Subject digest:
e158614f9d0f9e5b00bf873464e443087099fe093a0bfc7dc0f7105a1443bbc1 - Sigstore transparency entry: 1247808822
- Sigstore integration time:
-
Permalink:
SAP/invoke-plugin-for-sphinx@3694da514b6230dca0f7c6621ccdda3ffb473e52 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SAP
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3694da514b6230dca0f7c6621ccdda3ffb473e52 -
Trigger Event:
pull_request
-
Statement type: