summaryrefslogtreecommitdiff
path: root/doc/ext/appapi.rst
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2008-05-24 18:03:56 +0000
committergeorg.brandl <devnull@localhost>2008-05-24 18:03:56 +0000
commitebc0bf3629e7868b8639a94c0b753912afc5739f (patch)
treee0c622c76a168f22b7517c75ab88d258c24a3e5c /doc/ext/appapi.rst
parent2b8b2b1004e1e374ab4698352c0e9dc9e1e04458 (diff)
downloadsphinx-ebc0bf3629e7868b8639a94c0b753912afc5739f.tar.gz
Add html_short_title and html_show_sphinx config values.
Diffstat (limited to 'doc/ext/appapi.rst')
-rw-r--r--doc/ext/appapi.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/ext/appapi.rst b/doc/ext/appapi.rst
index a0eeeeb7..616708ad 100644
--- a/doc/ext/appapi.rst
+++ b/doc/ext/appapi.rst
@@ -24,6 +24,11 @@ the following public API:
in the setting only takes effect when a document is parsed -- this means that
the whole environment must be rebuilt.
+ .. versionchanged:: 0.4
+ If the *default* value is a callable, it will be called with the config
+ object as its argument in order to get the default value. This can be
+ used to implement config values whose default depends on other values.
+
.. method:: Sphinx.add_event(name)
Register an event called *name*.
@@ -43,7 +48,7 @@ the following public API:
documentation.
.. XXX once we target docutils 0.5, update this
-
+
.. method:: Sphinx.add_role(name, role)
Register a Docutils role. *name* must be the role name that occurs in the