-
Recent Posts
- angles
- angular position
- astrometry
- bearing
- cog
- coordinate conversion
- docutils
- epoch
- equinox
- FITS
- formatted tables
- Gregorian calendar
- IRAF
- J2000
- Julian calendar
- julian date
- labelling plots
- latex
- latex equations
- leap year
- lineid_plot
- paver
- position angle
- pyephem
- PyFITS
- pygments
- refractive index
- reStructuredText
- scipy
- separation
- skyctran
- statistics
- sympy
- tables
- wave length conversion
Categories
- Astronomy (11)
- Python (13)
- Uncategorized (1)
Archives
Subscribe to RSS
-
Join 16 other subscribers
Tag Archives: docutils
Documenting python code with reST, docutils, pygments, cog and paver
This article describes a recipe for producing html documentation for python code in a single file using reST, docutils, cog and paver. reST is used to write the documentation in plain text, cog is used to run the code and insert the results into the documentation, pygments is used to provide syntax highlighting, docutils is used to produce the html and paver is used to automate the process. Continue reading










