bundle.docs¶
Sphinx-based documentation builder integrated with TheBundle CLI.
CLI Commands¶
# Build HTML documentation for the current project
bundle docs build
# Build docs for a specific project with custom output
bundle docs build --source /path/to/project --output /path/to/output
# Serve built docs locally
bundle docs serve --port 8000
# Initialize persistent Sphinx config files
bundle docs init
Features¶
Auto-discovery: Reads
pyproject.tomlto detect project name, version, author, and package layoutMyST Markdown: Uses
myst-parserso existing README.md files are included directlyStatic API analysis: Uses
sphinx-autoapito generate API docs from source without importing modulesEphemeral staging: Generates
conf.pyandindex.mdat build time — no permanent Sphinx files to maintainExternal repo support: Build docs for any Python project with
--source
Dependencies¶
Install with:
pip install thebundle[docs]
Requires: sphinx, furo, myst-parser, sphinx-autoapi