A base class of source parsers. The additional parsers should inherit this class instead of docutils.parsers.Parser. Compared with docutils.parsers.Parser, this class improves accessibility to Sphinx APIs.
The subclasses can access the following objects and functions:
sphinx.application.Sphinx
)sphinx.config.Config
)sphinx.environment.BuildEnvironment
)sphinx.application.Sphinx.warn()
)sphinx.application.Sphinx.info()
)sphinx.util.logging
instead.Method | set_application |
set_application will be called from Sphinx to set app and other instance variables |
Instance Variable | _app |
Undocumented |
Instance Variable | config |
Undocumented |
Instance Variable | env |
Undocumented |
Property | app |
Undocumented |