From 268ae71fae08587e6df5b3270b7fc4833f30e34e Mon Sep 17 00:00:00 2001 From: LikeLakers2 <1008889+LikeLakers2@users.noreply.github.com> Date: Thu, 20 Sep 2018 18:14:47 -0400 Subject: [PATCH] Fix the weird method linking issue when the previous method's description ends with a code block --- doc/tools/makerst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py index ad6601b18bd..06b9a10123f 100755 --- a/doc/tools/makerst.py +++ b/doc/tools/makerst.py @@ -673,7 +673,7 @@ def make_rst_class(node): if methods != None and len(list(methods)) > 0: f.write(make_heading('Method Descriptions', '-')) for m in list(methods): - f.write(" .. _class_" + name + "_" + m.attrib['name'] + ":\n\n") + f.write(".. _class_" + name + "_" + m.attrib['name'] + ":\n\n") make_method(f, name, m, True) f.write('\n') d = m.find('description')