1. Konrad Anton
  2. sphinx-extensions

Commits

Georg Brandl  committed e4bcb82

Fix node class name.

  • Participants
  • Parent commits 9960dbe
  • Branches default

Comments (0)

Files changed (1)

File doc/ext/tutorial.rst

View file
 
    def process_todo_nodes(app, doctree, fromdocname):
        if not app.config.todo_include_todos:
-           for node in doctree.traverse(todo_node):
+           for node in doctree.traverse(todo):
                node.parent.remove(node)
 
        # Replace all todolist nodes with a list of the collected todos.