Lably
Skip to content

Sphinx (documentation generator)

Documentation generator

  • 1 min read
  • 2 chapters

Related on Lably

Through Python (programming language), HTML and Website

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.

It is possible to use Markdown files as well thanks to extensions such as MyST Parser.

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. Popular themes that can be installed as Python modules include:

  • Read the Docs
  • Sphinx Bootstrap
  • Guzzle
  • Documatt

Sign in to keep reading

One more chapter is free with a Lably account.

More in Computing and communication