Sphinx (documentation generator)

From Wikipedia, the free encyclopedia
Sphinx
Sphinx Python Documentation Logo.png
Developer(s)Georg Brandl
Initial releaseMarch 21, 2008 (2008-03-21)
Stable release
4.4.0[1] / January 17, 2022; 53 days ago (2022-01-17)
Repository
Written inPython
Operating systemCross-platform
TypeDocumentation generator
LicenseBSD
Websitewww.sphinx-doc.org

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

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.

History and use[]

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

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[4] and Python API documentation.[5]

In 2010, Eric Holscher announced[6] 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.[7]

See also[]

References[]

  1. ^ "Changes in Sphinx". Sphinx.
  2. ^ "Sphinx is released! » And now for something completely Pythonic..." And now for something completely Pythonic... Georg Brandl. Archived from the original on 2012-03-22. Retrieved 2011-04-03.
  3. ^ "About these documents — Python v2.7.1 documentation". Python documentation. Python Software Foundation. Retrieved 2011-04-03.
  4. ^ "Blender User Manual". Blender Wiki. Blender Foundation.
  5. ^ "Dev:2.5/Py/API/Generating API Reference - BlenderWiki!". Blender Foundation. Blender Foundation.
  6. ^ "Announcing Read The Docs". Python Software Foundation News. Eric Holscher. Retrieved 2015-02-15.
  7. ^ "Kernel documentation update". LWN.net. 2016-11-02.

External links[]

Retrieved from ""