class documentation
class RSTParser(docutils.parsers.rst.Parser, Parser): (source)
A reST parser for Sphinx.
Method | decorate |
Preprocess reST content before parsing. |
Method | get |
Sphinx's reST parser replaces a transform class for smart-quotes by its own |
Method | parse |
Parse text and generate a document tree. |
Instance Variable | statemachine |
Undocumented |
Inherited from Parser
:
Method | set |
set_application will be called from Sphinx to set app and other instance variables |
Instance Variable | config |
Undocumented |
Instance Variable | env |
Undocumented |
Instance Variable | _app |
Undocumented |
Parse text and generate a document tree.
Parameters | |
inputstring:str|StringList | Undocumented |
document:nodes.document | Undocumented |