HappyDoc Source Documentation: happydoclib.docstring | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Python docstring converter plugins.How does an author write documentation so that it will be marked up and look fancy? This is a perennial question for Python users, and seems to have introduced a roadblock into the development of more robust and useful documentation tools. HappyDoc stands firmly on the fence and does not attempt to resolve the issue. By separating the docstring converter and formatter classes from the docset classes, HappyDoc allows a user to create their own converter and formatter to interpret comments in any way they see fit. The docstring converter plugins are responsible for translating text from the input markup syntax to the output format. This translation is formatter independent, so that the same HTML conversion might be used by mutliple HTML formatters. It is, however, format dependent, so that HTML output should not be used by a plain text formatter. The default for the Don't like StructuredText? Write your own docstring converter
that uses something different and drop it into place. Refer to
the
|