Sphinx extension: auto-generates API docs from Zope interfaces
Project description
Overview
Thie package defines an extension for the Sphinx documentation system. The extension allows generation of API documentation by introspection of zope.interface instances in code.
Installation
Install via pip:
pip install repoze.sphinx.autointerface
Registering the Extension
Add repoze.sphinx.autointerface to the extensions list in the conf.py of the Sphinx documentation for your product.
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.doctest",
"repoze.sphinx.autointerface",
]
Using the Extension
At appropriate points in your document, call out the autodoc interface.
.. autointerface:: yourpackage.interfaces.IFoo
Output from the directive includes
the fully-qualified interface name
any base interfaces
the docstring from the interface, rendered as reStructuredText
the members of the interface (methods and attributes)
For each attribute, the output includes the attribute name and its description.
For each method, the output includes the method name, its signature, and its docstring (also rendered as reStructuredText).
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 repoze_sphinx_autointerface-1.1.0.tar.gz.
File metadata
- Download URL: repoze_sphinx_autointerface-1.1.0.tar.gz
- Upload date:
- Size: 10.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 |
3d17ba776019efc9b36415fb3fbb0820f23c3c2e816238c420f1d803f6ad3137
|
|
| MD5 |
f0d0c3257770ee4a968cc0c2a172081e
|
|
| BLAKE2b-256 |
adb79192240e74b747a08b59a7e54fe88039c15065c5d2571c1ef0a915e5f5e3
|
Provenance
The following attestation bundles were made for repoze_sphinx_autointerface-1.1.0.tar.gz:
Publisher:
pypi.yaml on repoze/repoze.sphinx.autointerface
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
repoze_sphinx_autointerface-1.1.0.tar.gz -
Subject digest:
3d17ba776019efc9b36415fb3fbb0820f23c3c2e816238c420f1d803f6ad3137 - Sigstore transparency entry: 1437708698
- Sigstore integration time:
-
Permalink:
repoze/repoze.sphinx.autointerface@ba8f7f26df46250ee8408c621c423de1e1b2327b -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/repoze
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@ba8f7f26df46250ee8408c621c423de1e1b2327b -
Trigger Event:
release
-
Statement type:
File details
Details for the file repoze_sphinx_autointerface-1.1.0-py3-none-any.whl.
File metadata
- Download URL: repoze_sphinx_autointerface-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 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 |
932700ff64612b72447a93e958e67c27dd09a881d6dc97d801e98bdfa932c07f
|
|
| MD5 |
f8a484a6605b8cabc9b43358366f1b2d
|
|
| BLAKE2b-256 |
cdcabf0f1bb5ea32ff0d1031c532b49a4a1c2a0a6152e25ac252210af2d55ec2
|
Provenance
The following attestation bundles were made for repoze_sphinx_autointerface-1.1.0-py3-none-any.whl:
Publisher:
pypi.yaml on repoze/repoze.sphinx.autointerface
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
repoze_sphinx_autointerface-1.1.0-py3-none-any.whl -
Subject digest:
932700ff64612b72447a93e958e67c27dd09a881d6dc97d801e98bdfa932c07f - Sigstore transparency entry: 1437708701
- Sigstore integration time:
-
Permalink:
repoze/repoze.sphinx.autointerface@ba8f7f26df46250ee8408c621c423de1e1b2327b -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/repoze
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@ba8f7f26df46250ee8408c621c423de1e1b2327b -
Trigger Event:
release
-
Statement type: