Skip to main content

The Sphinx theme for the CPython docs and related projects

Project description

Python Docs Sphinx Theme

This is the theme for the Python documentation. It requires Python 3.12 or newer and Sphinx 7.3 or newer.

Note that when adopting this theme, you're also borrowing an element of the trust and credibility established by the CPython core developers over the years. That's fine, and you're welcome to do so for other Python community projects if you so choose, but please keep in mind that in doing so you're also choosing to accept some of the responsibility for maintaining that collective trust.

To use the theme, install it into your docs build environment via pip (preferably in a virtual environment).

Configuration options

To use this theme, add the following to conf.py:

Translation

This theme supports localization. For more information see the Python Developer's Guide.

Preview

See a demo of the CPython docs using this theme:

The kitchen sink is a showcase of every Sphinx feature:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_docs_theme-2026.4.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_docs_theme-2026.4-py3-none-any.whl (73.7 kB view details)

Uploaded Python 3

File details

Details for the file python_docs_theme-2026.4.tar.gz.

File metadata

  • Download URL: python_docs_theme-2026.4.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for python_docs_theme-2026.4.tar.gz
Algorithm Hash digest
SHA256 a815f80c5a09f734449eb2498fbcbad05340976a7a543e431f57de92218a9315
MD5 93dc0888244f031e36ed7ab1e115db1b
BLAKE2b-256 fd59dbb07775a15ddf9f7f8d5f6ef4cd4da5e8afd908cc27e6585bb132e6366a

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_docs_theme-2026.4.tar.gz:

Publisher: pypi-package.yml on python/python-docs-theme

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_docs_theme-2026.4-py3-none-any.whl.

File metadata

File hashes

Hashes for python_docs_theme-2026.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f755d80ebe8d7aa4fad8ee964ff999635c72eebd24ab10928a0e9726363d65fc
MD5 b38425cf04fe29643354ab857f6e1b5a
BLAKE2b-256 db05b9298eb9330c70a3d1465a6116ab01dad095538c2e574a2d704bb0002f4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_docs_theme-2026.4-py3-none-any.whl:

Publisher: pypi-package.yml on python/python-docs-theme

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page