Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Sphinx (documentation generator)

From Wikipedia, the free encyclopedia
Documentation generator
Not to be confused withCMU Sphinx orSphinx (search engine).
Sphinx
DevelopersGeorg Brandl, Adam Turner[1]
Initial releaseMarch 21, 2008 (2008-03-21)
Stable release
8.2.3[2]Edit this on Wikidata / 2 March 2025; 8 months ago (2 March 2025)
Repository
Written inPython
Operating systemCross-platform
TypeDocumentation generator
LicenseBSD
Websitewww.sphinx-doc.orgEdit this at Wikidata

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

Purpose and function

[edit]

Sphinx convertsreStructuredText files intoHTMLwebsites and other formats includingPDF,EPub,Texinfo andman.

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

[edit]

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

[edit]

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

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

In 2010, Eric Holscher announced[13] the creation of theRead 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 everycommit.

Linux kernel

[edit]

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

[edit]

References

[edit]
  1. ^"Sphinx 8.2.3 (Python Package Index)". Python Package Index. Retrieved23 June 2025.
  2. ^"Release 8.2.3". 2 March 2025. Retrieved31 March 2025.
  3. ^"HTML Theming".Sphinx documentation. Georg Brandl and the Sphinx team. Retrieved2022-06-25.
  4. ^"Sphinx Themes". Write the Docs. Retrieved2022-06-25.
  5. ^"Read the Docs Sphinx Theme".sphinx-rtd-theme code repository. GitHub. Retrieved2022-06-25.
  6. ^"Sphinx Bootstrap Theme".sphinx_bootstrap_theme code repository. GitHub. Retrieved2022-06-25.
  7. ^"Guzzle Sphinx Theme".guzzle_sphinx_theme code repository. GitHub. Retrieved2022-06-25.
  8. ^"Documatt Sphinx Themes Collection". Documatt.com. Retrieved2022-06-25.
  9. ^"Sphinx is released! » And now for something completely Pythonic..."And now for something completely Pythonic... Georg Brandl. Archived fromthe original on 2012-03-22. Retrieved2011-04-03.
  10. ^"About these documents — Python v2.7.1 documentation".Python documentation. Python Software Foundation. Retrieved2011-04-03.
  11. ^"Blender User Manual".Blender Wiki. Blender Foundation.
  12. ^"Dev:2.5/Py/API/Generating API Reference - BlenderWiki!".Blender Foundation.
  13. ^"Announcing Read The Docs".Python Software Foundation News. Eric Holscher. Retrieved2015-02-15.
  14. ^"Kernel documentation update".LWN.net. 2016-11-02.

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Sphinx_(documentation_generator)&oldid=1305723604"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp