Skip to content
Snippets Groups Projects
Commit d482ab19 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Fix deprecated algorithm reference link.

Refs #9562
parent 04bc795b
No related merge requests found
......@@ -187,7 +187,7 @@ class AlgorithmDirective(BaseDirective):
match = DEPRECATE_USE_ALG_RE.search(msg)
if match is not None and len(match.groups()) == 1:
name = match.group(0)
msg = DEPRECATE_USE_ALG_RE.sub(r"Use :ref:`algorithm|\1` instead.", msg)
msg = DEPRECATE_USE_ALG_RE.sub(r"Use :ref:`algm-\1` instead.", msg)
self.add_rst(".. warning:: %s" % msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment