summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLikeLakers2 <1008889+LikeLakers2@users.noreply.github.com>2018-09-20 18:14:47 -0400
committerLikeLakers2 <1008889+LikeLakers2@users.noreply.github.com>2018-09-20 18:14:47 -0400
commit268ae71fae08587e6df5b3270b7fc4833f30e34e (patch)
treefee5c7ca086246f21b42a3ba8d3dcd8d6015771c
parentd9e88bccbea11189b9ea1437d4a48266b69aaf27 (diff)
Fix the weird method linking issue when the previous method's description ends with a code block
-rwxr-xr-xdoc/tools/makerst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py
index ad6601b18b..06b9a10123 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')