Content and publishing · Edition No. 59 · 23 Oct 2026

sphinx-doc/sphinx

Builds a documentation website, and a PDF, from text files and from the comments beside the code.

← Content and publishingRead the whole edition →
Sphinx: documentation from the code. Builds a documentation site and a printable copy.

8.1k stars · BSD-2-Clause, not named in the sidebar · v9.2.0 (2026-10-21) · Track this in Scout

Builds a documentation website, and a PDF, from text files and from the comments beside the code.

▶Repo detailsthe review · specs · pros & cons · install

What it does

It reads text files and builds a cross-referenced website from them, with a contents tree, a search box that works without a server, and links between pages that break the build if they point at nothing. It can pull descriptions straight out of Python code and turn them into reference pages, which is why almost every Python project uses it. The same source produces HTML, a single-page HTML file, PDF through LaTeX, EPUB and manual pages. Its native format is reStructuredText, a plain text format older and stricter than Markdown, and Markdown works too through an extension. Translation into other languages is built in, using the standard gettext message files. Version 9.2.0 was published on 21 October 2026, two days before this edition. It is not a general website builder: it is shaped around documentation, and bending it into a marketing site is more work than starting with something else.

Why it matters

Who it suits. Anyone writing documentation for software, especially in Python, who wants the reference pages generated from the code rather than typed twice. It suits anyone who needs the same content as both a website and a PDF, which is common in regulated and academic work. Skip it if the documentation is five Markdown pages, because the simpler tool below will have them online in five minutes.

Verdict. Worth the twenty minutes if the documentation will outlive the week. Two warnings. The default format, reStructuredText, is fussier than Markdown, and the error messages when a directive is slightly wrong are not kind; install the Markdown extension on day one if that matters. And the About sidebar does not name the licence, which is an odd gap for a project this central — the README badge and the published package both say BSD 2-Clause, and that is what the licence file holds. For a smaller project, mkdocs/mkdocs from Edition 53 is Markdown-only, configured in one file, and much faster to start. readthedocs/readthedocs.org is not an alternative but a companion: it is the software behind the free hosting service that builds Sphinx documentation on every commit.

Stars8.1k
LicenceBSD-2-Clause, not named in the sidebar
Latestv9.2.0 (2026-10-21)
Good
  • Reference pages generated from the code, so the descriptions cannot drift away from what they describe.
  • One source produces a website, a PDF and an EPUB.
  • Broken internal links fail the build, which catches the most common documentation rot.
Watch for
  • Its native text format is stricter than Markdown and its errors are hard to read.
  • The About sidebar names no licence at all, so the terms have to be looked up in the files.
  • Themes and extensions are plentiful but inconsistent in quality and in how well they are documented.
Similar repositories
Install
python3 -m venv venv
source venv/bin/activate
pip install sphinx
sphinx-quickstart docs
cd docs
make html
Screenshots
sphinx-doc/sphinx: GitHub preview card

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.