python/python-docs-theme

Sphinx theme for Python documentation

90

stars

364

commits

CSS

primary language

Sep 10, 2026

updated

README

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:

Contributors

(top 30 of 47)

hugovk

188 commits

StanFromIreland

21 commits

JulienPalard

17 commits

pradyunsg

17 commits

python/python-docs-theme

Sphinx theme for Python documentation

90

stars

364

commits

CSS

primary language

Sep 10, 2026

updated

README

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:

Contributors

(top 30 of 47)

hugovk

188 commits

StanFromIreland

21 commits

JulienPalard

17 commits

pradyunsg

17 commits

Languages

CSS

49.6%

HTML

19.3%

JavaScript

15.6%

Python

13.4%

Makefile

2.1%