网页
综合
更新时间 2026-11-14 16:30:01
sphinx.ext.todo – Support for todo items — Sphinx documentation
自动蜘蛛
www.sphinx-doc.org
正文约 963 字
Module author: Daniel Bültmann
Added in version 0.5.
There are two additional directives when using this extension:
Use this directive like, for example, note.
It will only show up in the output if todo_include_todos is True.
Added in version 1.3.2: This directive supports an class option that determines the class attribute for HTML output. If not given, the class defaults to admonition-todo.
This directive is replaced by a list of all todo directives in the whole documentation, if todo_include_todos is True.
These can be configured as seen below.
If this is True, todo and todolist produce output, else they produce nothing.
If this is True, todo emits a warning for each TODO entries.
Added in version 1.5.
If this is True, todolist produce output without file path and line.
Added in version 1.4.
autodoc provides the following an additional event:
Added in version 1.5.
Emitted when a todo is defined. node is the defined sphinx.ext.todo.todo_node node.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。