[Tutor] Making pretty web pages from python code examples?

Modulok modulok at gmail.com
Wed Apr 14 15:46:17 CEST 2010


>  : Basically, I'm trying to read python code examples from files on
>  : disk and generate pretty little web pages from them.

> I think you may want sphinx [0] which is available in PyPI [1].
>
> It understands reStrucTured text and adds a few Sphinx-specific
> directives/features for pulling the docstrings from your python
> modules.  Much easier than building your own.

Thanks! Looks like just what I'm after.
-Modulok-


More information about the Tutor mailing list