Skip to content

API docs parity: Python #1655

Description

@edburns

Python API Docs

Parent epic: #1653

Doc format: Docstrings (reStructuredText or Google/NumPy style) processed by Sphinx or pdoc. Type hints in source also serve as documentation.

Culture: Strong convention to write docstrings. PyPI does not require a docs build to publish, but the community expects it. help() in the REPL reads docstrings directly.

Hosting analogues:

Service How it works
Read the Docs De facto standard host — builds Sphinx/MkDocs on push; free for OSS. Closest cultural equivalent to javadoc.io
pdoc Zero-config generator from docstrings
PyPI project page Renders the long description (usually README), not full API docs

Key difference from Java: No bundled doc artifact in the wheel/sdist. Docs are a separate CI deliverable, typically hosted on Read the Docs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions