summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-21 08:04:34 +0200
committerGitHub <noreply@github.com>2018-09-21 08:04:34 +0200
commit8e4b18a721bbf38623e9dde1b4fe8d89308cdaf9 (patch)
treefee5c7ca086246f21b42a3ba8d3dcd8d6015771c
parentd9e88bccbea11189b9ea1437d4a48266b69aaf27 (diff)
parent268ae71fae08587e6df5b3270b7fc4833f30e34e (diff)
Merge pull request #22298 from LikeLakers2/docs-header-fix
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')