$npx skillfedfor your agent

sphinxcontrib-apidoc

A Sphinx extension for running 'sphinx-apidoc' on each build

With conditionsPyPI UtilitiesReleased May 2025195.6K downloads / moBSD LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sphinxcontrib_apidoc-0.6.0-py3-none-any.whl
v0.6.0 · released 2025-05-08 · Python >=3.9 · 2 runtime deps: pbr, Sphinx

Yes, if you are already using Sphinx and want to simplify your documentation build pipeline by integrating sphinx-apidoc directly into conf.py. However, check whether Sphinx's built-in apidoc extension meets your needs first, as the project documentation recommends new users adopt that instead and notes this project will eventually be retired.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; Sphinx must be installed as a runtime dependency.
  • Low install friction with only two runtime dependencies (pbr and Sphinx).
  • Repository is active with a recent commit on 2026-06-08 and no known vulnerabilities.

License · maintenance · safety

BSD License (permissive) — BSD License (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2025-05-08 (463 days) · last repo commit 2026-06-08 · 65 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 195,630 downloads/mo, #9,810 on PyPI

Verify before relying

pip install sphinxcontrib-apidoc

# In doc/source/conf.py:
extensions = ['sphinxcontrib.apidoc']
apidoc_module_dir = '../my_code'
apidoc_output_dir = 'reference'
apidoc_excluded_paths = ['tests']
  • Whether the built-in Sphinx extension mentioned in the description has feature parity or significant differences that would affect migration decisions.
  • Performance characteristics when documenting large codebases with many modules.
Same gist for agents: .md · .json

What it is and what it does

sphinxcontrib-apidoc is a Sphinx extension that integrates sphinx-apidoc into the documentation build process, eliminating the need to run sphinx-apidoc as a separate step before sphinx-build. Instead of configuring API documentation generation in tox.ini or shell scripts, you define settings directly in your Sphinx conf.py file.

The extension accepts configuration options like apidoc_module_dir (the Python package to document), apidoc_output_dir (where to write generated files), apidoc_excluded_paths (modules to skip), and apidoc_separate_modules (whether each module gets its own page). It depends on pbr and Sphinx, supports Python 3.9+, and is actively maintained. However, the project documentation notes that Sphinx now includes a built-in extension with similar functionality, and existing users are encouraged to migrate to that instead.

Use it for

  • Simplify documentation builds by moving sphinx-apidoc configuration from tox.ini into conf.py, reducing build orchestration complexity.
  • Automatically generate API reference documentation for Python packages as part of the standard sphinx-build workflow.
  • Migrate from pbr's autodoc_tree feature to a standalone Sphinx extension without changing documentation structure.
  • Exclude test modules and private code from generated API docs using fnmatch-style path patterns.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using Sphinx and want to simplify your documentation build pipeline by integrating sphinx-apidoc directly into conf.py.

However, check whether Sphinx's built-in apidoc extension meets your needs first, as the project documentation recommends new users adopt that instead and notes this project will eventually be retired.

Install

sphinxcontrib-apidoc on PyPI

Before you install

Low install friction with only two runtime dependencies (pbr and Sphinx). Repository is active with a recent commit on 2026-06-08 and no known vulnerabilities.

Requires Python 3.9 or later; Sphinx must be installed as a runtime dependency.

License in practice

BSD License (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install sphinxcontrib-apidoc

# In doc/source/conf.py:
extensions = ['sphinxcontrib.apidoc']
apidoc_module_dir = '../my_code'
apidoc_output_dir = 'reference'
apidoc_excluded_paths = ['tests']

Verify before relying

  • Whether the built-in Sphinx extension mentioned in the description has feature parity or significant differences that would affect migration decisions.
  • Performance characteristics when documenting large codebases with many modules.

Package facts

LicenseBSD License permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pbrSphinx
MaintenanceActively maintained 463 days since the last release
Last repo commit
First released
Downloads195,630 / month, #9,810 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleFramework :: Sphinx :: ExtensionIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: DocumentationTopic :: Documentation :: SphinxTopic :: Utilities

Evidence: sphinxcontrib_apidoc-0.6.0-py3-none-any.whl

Tags

Capabilities
sphinx api documentation generationsphinx-apidoc extensionautomatic api docs sphinxsphinx autodoc automationpython api documentation toolsphinx build integrationapi reference generator
Topics
sphinx-extensionapi-documentationbuild-automation
PyPI keywords
sphinx

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sphinx api documentation generation”

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also autodocsumm · sphinx-autoapi · sphinxcontrib-django · sphinxcontrib-autoyaml · sphinx-autodoc2 · autodoc_pydantic · sphinx-markdown-builder · sphinx-codeautolink · sphinx-autodoc-typehints · sphinx-llm