Description
Sphinx is a documentation generator that turns reStructuredText or MyST Markdown sources into structured technical documentation. It supports tables, highlighted code blocks and mathematical notation, and it adds cross-references within a project and across projects, to sections, figures, tables, citations, glossaries and code objects. Documentation can be built for HTML, LaTeX for PDF, ePub, Texinfo and other formats. Sphinx has built-in and third-party HTML themes that can be customized or replaced, and it is extended through a mechanism that offers many built-in and third-party extensions, for example for diagrams and testing code. For software projects, it generates API documentation for Python, C++ and other domains, either by hand or automatically from docstrings. It supports internationalization so documentation can be translated into several languages. The project is used by Python, the Linux kernel and Project Jupyter, and it has a guide for installation through PyPI, Conda, operating system package managers and Docker, along with a user guide, an extension reference and a community guide.…
Highlights
- reStructuredText and MyST Markdown sources
- Cross-references across projects
- HTML, PDF via LaTeX, ePub and Texinfo
- Automatic API docs from docstrings
- Translations and extensions
Ratings & Reviews
No ratings yet
Be the first to rate Sphinx.
People also visit
Pydoctor
This is pydoctor, an API documentation generator that works by static analysis
Sphinx FAQ
What is Sphinx?
A documentation generator that builds technical documentation from reStructuredText or MyST Markdown sources.
What output formats does it make?
HTML, LaTeX for PDF, ePub, Texinfo and more.
Can it generate API documentation?
Yes. It generates API docs for Python, C++ and other domains, from docstrings or by hand.
How do I install it?
Through PyPI, Conda, an operating system package manager or Docker, as the installation guide describes.
Can I translate my docs?
Yes. Sphinx supports internationalization for documentation in several languages.
Who uses it?
The site lists Python, the Linux kernel and Project Jupyter among its users.
What are the best Sphinx alternatives?
Popular alternatives to Sphinx include Pdoc, Teedoc and DOCAT. See all Sphinx alternatives

