API Reference for Enthought Tool Suite 3.2.0
Classes and functions for converting reST docstrings to HTML
logger = logging.getLogger(__name__)
Given a documentation string, writes html documentation. First tries to identify the standard docstring format for has_units objects. If sucessful, outputs a nicely formatted html. Otherwise, converts to html with no other changes.
Code borrowed from numerical_modelling's has_unit.py
Converts a string of reST text into html.
Converts a string of reST text into an html fragment (ie no <header>, <body>, etc tags).
Convenience function to get html from a FunctionInfo object
Render the given text inside <pre> tags.
| Local name | Refers to |
|---|---|
| cgi | cgi |
| core | docutils.core |
| HTMLTranslator | docutils.writers.html4css1.HTMLTranslator |
| logging | logging |
| new_document | docutils.utils.new_document |
| OptionParser | docutils.frontend.OptionParser |
| Parser | docutils.parsers.rst.Parser |
| platform | platform |
| textwrap | textwrap |
| Writer | docutils.writers.html4css1.Writer |
| wx | wx |
© Copyright 2002-2009 Enthought, Inc.