We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
color
1 parent 70b1e80 commit 7344ffdCopy full SHA for 7344ffd
1 file changed
doc/sphinxext/custom_roles.py
@@ -72,9 +72,8 @@ def mpltype_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
72
if mpltype not in type_to_link_target:
73
raise ValueError(f"Unknown mpltype: {mpltype!r}")
74
75
- ref_nodes, messages = inliner.interpreted(
+ node_list, messages = inliner.interpreted(
76
mpltype, f'{mpltype} <{type_to_link_target[mpltype]}>', 'ref', lineno)
77
- node_list = [ref_nodes]
78
return node_list, messages
79
80
0 commit comments