1. Georg Brandl
  2. sphinx

Commits

Georg Brandl  committed 71ab4c3

Give todo source attributions a specific class.

  • Participants
  • Parent commits b86a216
  • Branches default

Comments (0)

Files changed (1)

File sphinx/ext/todo.py

View file
         content = []
 
         for todo_info in env.todo_all_todos:
-            para = nodes.paragraph()
+            para = nodes.paragraph(classes=['todo-source'])
             filename = env.doc2path(todo_info['docname'], base=None)
             description = (
                 _('(The original entry is located in %s, line %d and '