Sphinx extension for documenting pytest fixtures as first-class objects
Project description
sphinx-autodoc-pytest-fixtures
Sphinx extension that documents pytest fixtures as first-class domain objects with scope badges, dependency tracking, reverse-dep graphs, and auto-generated usage snippets.
The extension auto-loads the shared stack: sphinx_ux_badges owns badge
rendering, sphinx_ux_autodoc_layout owns the shared api-* regions and summary
wrappers, and sphinx_autodoc_typehints_gp owns fixture return-type rendering.
Install
$ pip install sphinx-autodoc-pytest-fixtures
Installing this package also installs sphinx-ux-badges,
sphinx-ux-autodoc-layout, and sphinx-autodoc-typehints-gp as declared dependencies.
Usage
extensions = ["sphinx_autodoc_pytest_fixtures"]
Then document fixtures with:
.. autofixture:: myproject.conftest.my_fixture
.. autofixtures:: myproject.conftest
.. auto-pytest-plugin:: myproject.pytest_plugin
:project: myproject
:package: myproject
:summary: Document your pytest plugin with generated install and fixture
reference sections.
Documentation
See the full documentation for config values, directive options, and the badge demo.
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 sphinx_autodoc_pytest_fixtures-0.0.1a21.tar.gz.
File metadata
- Download URL: sphinx_autodoc_pytest_fixtures-0.0.1a21.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ade3109aace3ffb76b6ec0eec0f07418768c2e74c43d21214829b1a5fbc98b3
|
|
| MD5 |
f56e5551c8b9ae4da6ec856af397ac4a
|
|
| BLAKE2b-256 |
0fae861c87b6675b67a5e8fa465cd966eaf1e3f55cc490517905138c7a7170c3
|
Provenance
The following attestation bundles were made for sphinx_autodoc_pytest_fixtures-0.0.1a21.tar.gz:
Publisher:
release.yml on git-pull/gp-sphinx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_autodoc_pytest_fixtures-0.0.1a21.tar.gz -
Subject digest:
2ade3109aace3ffb76b6ec0eec0f07418768c2e74c43d21214829b1a5fbc98b3 - Sigstore transparency entry: 1616117292
- Sigstore integration time:
-
Permalink:
git-pull/gp-sphinx@33637b92f92c98ac4f46c7d1e8465891f9eb04c7 -
Branch / Tag:
refs/tags/v0.0.1a21 - Owner: https://github.com/git-pull
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@33637b92f92c98ac4f46c7d1e8465891f9eb04c7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sphinx_autodoc_pytest_fixtures-0.0.1a21-py3-none-any.whl.
File metadata
- Download URL: sphinx_autodoc_pytest_fixtures-0.0.1a21-py3-none-any.whl
- Upload date:
- Size: 39.2 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 |
a415d06c9c56c8c39e9967c99c03e4ca86676668ca0e06ddb97435d02408b556
|
|
| MD5 |
364c58bdd4b62e8cc070aef4d1504e8c
|
|
| BLAKE2b-256 |
78913b5c26944041c08ac1d8032b9c02c61308cbe855496a1f65694b2b5a913c
|
Provenance
The following attestation bundles were made for sphinx_autodoc_pytest_fixtures-0.0.1a21-py3-none-any.whl:
Publisher:
release.yml on git-pull/gp-sphinx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_autodoc_pytest_fixtures-0.0.1a21-py3-none-any.whl -
Subject digest:
a415d06c9c56c8c39e9967c99c03e4ca86676668ca0e06ddb97435d02408b556 - Sigstore transparency entry: 1616117348
- Sigstore integration time:
-
Permalink:
git-pull/gp-sphinx@33637b92f92c98ac4f46c7d1e8465891f9eb04c7 -
Branch / Tag:
refs/tags/v0.0.1a21 - Owner: https://github.com/git-pull
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@33637b92f92c98ac4f46c7d1e8465891f9eb04c7 -
Trigger Event:
push
-
Statement type: