diff options
| author | Georg Brandl <georg@python.org> | 2009-01-22 19:23:23 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-01-22 19:23:23 +0100 |
| commit | 388277ae83ef94de163905144138d9ca6fe0dc7c (patch) | |
| tree | d2f80659cdf358e02acf33c040df461d84ff3e74 /doc/ext/appapi.rst | |
| parent | 41199791234037ce6bf2f9d4afa7248df5b118c7 (diff) | |
| parent | a7bb180ba708ffef173d0741a56ea41b8de1de06 (diff) | |
| download | sphinx-388277ae83ef94de163905144138d9ca6fe0dc7c.tar.gz | |
merge with 0.5
Diffstat (limited to 'doc/ext/appapi.rst')
| -rw-r--r-- | doc/ext/appapi.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/ext/appapi.rst b/doc/ext/appapi.rst index fcc29e38..3dd5282b 100644 --- a/doc/ext/appapi.rst +++ b/doc/ext/appapi.rst @@ -13,7 +13,7 @@ the following public API: .. method:: Sphinx.add_builder(builder) Register a new builder. *builder* must be a class that inherits from - :class:`~sphinx.builder.Builder`. + :class:`~sphinx.builders.Builder`. .. method:: Sphinx.add_config_value(name, default, rebuild_env) @@ -167,6 +167,13 @@ the following public API: :confval:`the docs for the config value <html_static_path>`. .. versionadded:: 0.5 + +.. method:: Sphinx.add_lexer(alias, lexer) + + Use *lexer*, which must be an instance of a Pygments lexer class, to + highlight code blocks with the given language *alias*. + + .. versionadded:: 0.6 .. method:: Sphinx.connect(event, callback) |
