Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Sphinx AutoAPI

Documentation Github Build Status PyPI Version Supported Python Versions Formatted with Black

Sphinx AutoAPI is a Sphinx extension for generating complete API documentation without needing to load, run, or import the project being documented.

In contrast to the traditional Sphinx autodoc, which requires manual authoring and uses code imports, AutoAPI finds and generates documentation by parsing source code.

For more information, see the full documentation.

Getting Started

The following steps will walk through how to add AutoAPI to an existing Sphinx project. For instructions on how to set up a Sphinx project, see Sphinx’s documentation.

Installation

AutoAPI can be installed through pip:

pip install sphinx-autoapi

Next, add and configure AutoAPI in your Sphinx project’s conf.py.

extensions.append('autoapi.extension')

autoapi_dirs = ['path/to/source/files', 'src']

When the documentation is built, AutoAPI will now generate API documentation into an autoapi/ directory and add an entry to the documentation in your top level table of contents!

To configure AutoAPI behaviour further, see the Configuration documentation.

Contributing

Running the tests

Tests are executed through tox.

tox

Code Style

Code is formatted using black.

You can check your formatting using black’s check mode:

tox -e formatting

You can also get black to format your changes for you:

black autoapi/ tests/

You can even get black to format changes automatically when you commit using pre-commit:

pip install pre-commit
pre-commit install

Release Notes

Release notes are managed through towncrier. When making a pull request you will need to create a news fragment to document your change:

tox -e release_notes -- create --help

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License. See the LICENSE.rst file for details.

Metadata

Release files for sphinx-autoapi 3.1.0b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-autoapi 3.1.0b0
File Size Uploaded Provenance Actions
sphinx_autoapi-3.1b0.tar.gz 61.1 kB Without provenance Details for sphinx_autoapi-3.1b0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-autoapi 3.1.0b0
File Interpreter ABI Platform Actions
sphinx_autoapi-3.1.0b0-py2.py3-none-any.whl Python 3, Python 2 none any Details for sphinx_autoapi-3.1.0b0-py2.py3-none-any.whl

Total release size: 95.1 kB

Release files / sphinx_autoapi-3.1b0.tar.gz

Download URL sphinx_autoapi-3.1b0.tar.gz
Size 61.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2f91530460fd09bcc9991950116df67b4029c8a95d1da813dd76459b6680ccd4
BLAKE2b-256 checksum
How to use checksums
45eb7dfb90a761ce5f8fc406e25c3df2f20e95cef4bee537d96edf33b835a750
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / sphinx_autoapi-3.1.0b0-py2.py3-none-any.whl

Download URL sphinx_autoapi-3.1.0b0-py2.py3-none-any.whl
Size 34.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2b61a59a443906cee03219bc4e026f6c39af581b45b378d07ec585ab1d1a0ab4
BLAKE2b-256 checksum
How to use checksums
1a91bf81038582b92d3b9678cbbf0b7cb7a0425567999eb83f7888c14d0e50dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Security for sphinx-autoapi 3.1.0b0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page