sphinx: Python documentation generator#

Description#

Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects (or other documents consisting of multiple reStructuredText sources), written by Georg Brandl. It was originally created to translate the new Python documentation, but has now been cleaned up in the hope that it will be useful to many other projects.

License#

Modified BSD; see e.g. its egg-info file for other options

Upstream Contact#

Dependencies#

  • Jinja2 >= 2.3

  • Pygments >= 2.0

  • docutils < 0.18

  • snowballstemmer >= 1.1

  • babel >= 1.3

  • setuptools / distribute

  • Python

  • GNU patch (shipped with Sage)

Type#

standard

Dependencies#

Version Information#

package-version.txt:

5.2.3

install-requires.txt:

sphinx >=5.2, <6

Equivalent System Packages#

conda:

$ conda install  sphinx

gentoo:

$ sudo emerge dev-python/sphinx

homebrew:

$ brew install sphinx-doc

macports: install the following packages: py-sphinx

opensuse:

$ sudo zypper install python3-Sphinx

void:

$ sudo xbps-install  python3-Sphinx

See https://repology.org/project/python:sphinx/versions

However, these system packages will not be used for building Sage because using Python site-packages is not supported by the Sage distribution; see trac ticket #29023