[Biopython-dev] [Biopython - Feature #3219] Port Biopython documentation to Sphinx

redmine at redmine.open-bio.org redmine at redmine.open-bio.org
Fri Jun 8 22:23:22 UTC 2012


Issue #3219 has been updated by Peter Cock.


In terms of moving the Tutorial from LaTeX to Sphinx, we'd need to update Tests/test_Tutorial.py which currently tests marked doctests within the tutorial (to ensure they are in sync with the latest code).
----------------------------------------
Feature #3219: Port Biopython documentation to Sphinx
https://redmine.open-bio.org/issues/3219

Author: Eric Talevich
Status: In Progress
Priority: Low
Assignee: Biopython Dev Mailing List
Category: Documentation
Target version: 
URL: 


Currently we use Epydoc for the API reference documentation, and LaTeX (to PDF via pdflatex, and HTML via hevea) for the tutorial. There's some material on the wiki to consider, too.

A number of Python projects, including CPython, now use Sphinx for documentation. Content is written in reStructuredText format, and can be pulled from both standalone .rst files and Python docstrings.

This offers several advantages: (i) API documentation will be prettier and easier to navigate; (ii) the Tutorial will be easier to edit for those not fluent in LaTeX; (iii) Since the API reference and Tutorial will be written in the same markup, potentially even pulling from some shared sources, it will be easier to  address redundant or overlapping portions between the two, avoiding inconsistencies.

See:
http://sphinx.pocoo.org/
http://docutils.sourceforge.net/

Mailing list discussion:
http://lists.open-bio.org/pipermail/biopython-dev/2010-July/007977.html

Numpy's approach:
http://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here and login: http://redmine.open-bio.org




More information about the Biopython-dev mailing list