[Python-checkins] devguide: Switch on the todo Sphinx extension and list the todo list.

brett.cannon python-checkins at python.org
Wed Jan 5 00:05:54 CET 2011


brett.cannon pushed 747962c95a84 to devguide:

http://hg.python.org/devguide/rev/747962c95a84
changeset:   22:747962c95a84
tag:         tip
user:        Brett Cannon <brett at python.org>
date:        Tue Jan 04 15:05:44 2011 -0800
summary:
  Switch on the todo Sphinx extension and list the todo list.

files:
  conf.py
  index.rst

diff --git a/conf.py b/conf.py
--- a/conf.py
+++ b/conf.py
@@ -25,7 +25,8 @@
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = []
+extensions = ['sphinx.ext.todo']
+todo_include_todos = True
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
diff --git a/index.rst b/index.rst
--- a/index.rst
+++ b/index.rst
@@ -1,10 +1,13 @@
 Python Developer's Guide
 ========================
 
-Contents:
+.. toctree::
+   :hidden:
 
-.. toctree::
-   :maxdepth: 2
+   setup
+
+
+.. todolist::
 
 
 Contributing

--
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list