2008-11-09 12:46:32 -06:00
|
|
|
:mod:`sphinx.ext.todo` -- Support for todo items
|
|
|
|
================================================
|
|
|
|
|
|
|
|
.. module:: sphinx.ext.todo
|
|
|
|
:synopsis: Allow inserting todo items into documents.
|
|
|
|
.. moduleauthor:: Daniel Bültmann
|
|
|
|
|
|
|
|
.. versionadded:: 0.5
|
|
|
|
|
|
|
|
There are two additional directives when using this extension:
|
|
|
|
|
2010-04-17 03:39:51 -05:00
|
|
|
.. rst:directive:: todo
|
2008-11-09 12:46:32 -06:00
|
|
|
|
2010-04-17 03:39:51 -05:00
|
|
|
Use this directive like, for example, :rst:dir:`note`.
|
2008-11-09 12:46:32 -06:00
|
|
|
|
2014-06-18 11:34:28 -05:00
|
|
|
It will only show up in the output if :confval:`todo_include_todos` is
|
|
|
|
``True``.
|
2008-11-09 12:46:32 -06:00
|
|
|
|
|
|
|
|
2010-04-17 03:39:51 -05:00
|
|
|
.. rst:directive:: todolist
|
2008-11-09 12:46:32 -06:00
|
|
|
|
|
|
|
This directive is replaced by a list of all todo directives in the whole
|
2014-06-18 11:34:28 -05:00
|
|
|
documentation, if :confval:`todo_include_todos` is ``True``.
|
2008-11-09 12:46:32 -06:00
|
|
|
|
2009-01-10 15:18:18 -06:00
|
|
|
|
2008-11-09 12:46:32 -06:00
|
|
|
There is also an additional config value:
|
2009-01-10 15:18:18 -06:00
|
|
|
|
2008-11-09 12:46:32 -06:00
|
|
|
.. confval:: todo_include_todos
|
|
|
|
|
2014-06-18 10:53:25 -05:00
|
|
|
If this is ``True``, :rst:dir:`todo` and :rst:dir:`todolist` produce output,
|
|
|
|
else they produce nothing. The default is ``False``.
|