activate todo generation

This commit is contained in:
Mathieu Virbel 2010-12-21 19:05:11 +01:00
parent 5eb87c1221
commit b61e4ce3d2
1 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,10 @@ sys.path.append(os.path.abspath('sphinxext'))
# Add any Sphinx extension module names here, as strings. They can be extensions # Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'preprocess'] extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'preprocess']
# Todo configuration
todo_include_todos = True
# XXX HACK mathieu: monkey patch the autodoc module, to give a better priority # XXX HACK mathieu: monkey patch the autodoc module, to give a better priority
# for ClassDocumenter, or the cython class will be documented as AttributeClass # for ClassDocumenter, or the cython class will be documented as AttributeClass