You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix the weird method linking issue when the previous method's description ends with a code block
This commit is contained in:
@@ -673,7 +673,7 @@ def make_rst_class(node):
|
|||||||
if methods != None and len(list(methods)) > 0:
|
if methods != None and len(list(methods)) > 0:
|
||||||
f.write(make_heading('Method Descriptions', '-'))
|
f.write(make_heading('Method Descriptions', '-'))
|
||||||
for m in list(methods):
|
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)
|
make_method(f, name, m, True)
|
||||||
f.write('\n')
|
f.write('\n')
|
||||||
d = m.find('description')
|
d = m.find('description')
|
||||||
|
|||||||
Reference in New Issue
Block a user