Document setup_extension().

This commit is contained in:
Georg Brandl 2009-03-14 21:34:59 +01:00
parent ca27c7285a
commit a77888a42b

View File

@ -10,6 +10,11 @@ This function is called at initialization time with one argument, the
application object representing the Sphinx process. This application object has
the following public API:
.. method:: Sphinx.setup_extension(name)
Load the extension given by the module *name*. Use this if your extension
needs the features provided by another extension.
.. method:: Sphinx.add_builder(builder)
Register a new builder. *builder* must be a class that inherits from