mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Give todo source attributions a specific class.
This commit is contained in:
parent
288af885c2
commit
783a05ca6e
@ -93,7 +93,7 @@ def process_todo_nodes(app, doctree, fromdocname):
|
||||
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 '
|
||||
|
Loading…
Reference in New Issue
Block a user