mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
31 lines
839 B
ReStructuredText
31 lines
839 B
ReStructuredText
|
: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:
|
||
|
|
||
|
.. directive:: todo
|
||
|
|
||
|
Use this directive like, for example, :dir:`note`.
|
||
|
|
||
|
It will only show up in the output if :confval:`todo_include_todos` is true.
|
||
|
|
||
|
|
||
|
.. directive:: todolist
|
||
|
|
||
|
This directive is replaced by a list of all todo directives in the whole
|
||
|
documentation, if :confval:`todo_include_todos` is true.
|
||
|
|
||
|
|
||
|
There is also an additional config value:
|
||
|
|
||
|
.. confval:: todo_include_todos
|
||
|
|
||
|
If this is ``True``, :dir:`todo` and :dir:`todolist` produce output, else
|
||
|
they produce nothing. The default is ``False``.
|