LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

Public release of Sphinx, Python's documentation toolchain

From:  Georg Brandl <georg-AT-python.org>
To:  python-announce-AT-python.org
Subject:  Public release of Sphinx, Python's documentation toolchain
Date:  Fri, 21 Mar 2008 18:39:08 +0100
Message-ID:  <47E3F2BC.1090905@python.org>

I'm delighted to announce that the Sphinx library, used to build the
new Python documentation (for 2.6 and 3.0) [1], is now released for
general use.


What is it?
===========

Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of
multiple reStructuredText source files).

Its website is at <http://sphinx.pocoo.org/>.


What does it do?
================

Sphinx is not an API documentation generator like Epydoc.  Instead, its
focus is on hand-written documentation, such as the Python one.

* Main output formats: HTML (including HTML Help) and LaTeX

* Extensive cross-references: semantic markup and automatic links
   for functions, classes, glossary terms and similar pieces of information

* Hierarchical structure: easy definition of a document tree, with
   automatic links to siblings, parents and children

* Automatic indices: general index as well as a module index

* Code handling: automatic highlighting using the Pygments highlighter

* Goodies such as changes overview, and external link checking


What else?
==========

Various extensions are available and in development:

* autodoc: pulls in documentation from docstrings that are written in
   reST, to avoid having to maintain multiple documentation locations

* doctest: automatically tests snippets in the documentation in doctest
   fashion

* coverage: documentation coverage checker


Cheers,
Georg


[1] http://docs.python.org/dev
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.