Sphinx (documentation generator)

Documentation generator From Wikipedia, the free encyclopedia

Sphinx is a documentation generator written and used by the Python community. It is written in Python, and also used in other environments.

DevelopersGeorg Brandl, Adam Turner[1]
Initial releaseMarch 21, 2008 (2008-03-21)
Stable release
9.0.4[2]Edit this on Wikidata / 4 December 2025; 3 months ago (4 December 2025)
Written inPython
Quick facts Developers, Initial release ...
Sphinx
DevelopersGeorg Brandl, Adam Turner[1]
Initial releaseMarch 21, 2008 (2008-03-21)
Stable release
9.0.4[2]Edit this on Wikidata / 4 December 2025; 3 months ago (4 December 2025)
Written inPython
Operating systemCross-platform
TypeDocumentation generator
LicenseBSD
Websitewww.sphinx-doc.org Edit this at Wikidata
Repository
Close

Purpose and function

Sphinx converts reStructuredText files into HTML websites and other formats including PDF, EPub, Texinfo and man.

reStructuredText is extensible, and Sphinx exploits its extensible nature through a number of extensions – for autogenerating documentation from source code, writing mathematical notation or highlighting source code, etc.

HTML themes

Sphinx provides the ability to apply themes to HTML and HTML-based formats. Sphinx has several built-in themes, including alabaster, classic, sphinxdoc, and scrolls.[3] Popular themes that can be installed as Python modules include:[4]

History and use

The first public release, version 0.1.61611, was announced on March 21, 2008.[9] It was developed for, and is used extensively by, the Python project for documentation.[10]

Since its introduction in 2008, Sphinx has been adopted by many other important Python projects, including Bazaar, SQLAlchemy, MayaVi, SageMath, SciPy, Django and Pylons. It is also used for the Blender user manual[11][failed verification] and Python API documentation.[12][failed verification]

In 2010, Eric Holscher announced[13] the creation of the Read the Docs project as part of an effort to make maintenance of software documentation easier. Read the Docs automates the process of building and uploading Sphinx documentation after every commit.

Linux kernel

The Linux kernel's documentation subsystem underwent changes in 2016. Starting in the 4.7 cycle, the documentation started switching over to use Sphinx.[14]

See also

References

Related Articles

Wikiwand AI