summaryrefslogtreecommitdiff
path: root/doc/extdev/tutorial.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/extdev/tutorial.rst')
-rw-r--r--doc/extdev/tutorial.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/extdev/tutorial.rst b/doc/extdev/tutorial.rst
index 84e7258b..8241e109 100644
--- a/doc/extdev/tutorial.rst
+++ b/doc/extdev/tutorial.rst
@@ -45,7 +45,7 @@ extension. These are:
parsed documents into an output format, or otherwise process them (e.g. check
external links).
- If you have the application object, the environment is available as
+ If you have the application object, the builder is available as
``app.builder``.
**Config**
@@ -162,6 +162,8 @@ new Python module called :file:`todo.py` and add the setup function::
app.connect('doctree-resolved', process_todo_nodes)
app.connect('env-purge-doc', purge_todos)
+ return {'version': '0.1'} # identifies the version of our extension
+
The calls in this function refer to classes and functions not yet written. What
the individual calls do is the following: