Skip to content

Commit

Permalink
Add missing newline character in RST file header (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielaOrtner authored Feb 1, 2024
2 parents 8ec36f5 + 47a8d3b commit a8809bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/scripts/rst_from_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,14 @@ def write_header(rst_file, class_def):
# Warn contributors not to edit this file directly.
rst_file.write(":github_url: hide\n\n")
rst_file.write(
".. Generated automatically by RebelEngine/tools/scripts/rst_from_xml.py"
".. Generated automatically by RebelEngine/tools/scripts/rst_from_xml.py\n"
)
rst_file.write(
".. DO NOT EDIT THIS FILE, but the {}.xml source instead.\n".format(class_name)
)
rst_file.write(".. The source is found in docs or modules/<name>/docs.")
rst_file.write("\n\n")
rst_file.write(".. _class_" + class_name + ":")
rst_file.write(".. _class_{}:".format(class_name))
rst_file.write("\n\n")
rst_file.write(rst_heading(class_name, "="))

Expand Down

0 comments on commit a8809bc

Please sign in to comment.