|
@@ -1,5 +1,7 @@
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
+# This script makes RST files from the XML class reference for use with the online docs.
|
|
|
+
|
|
|
import argparse
|
|
|
import os
|
|
|
import re
|
|
@@ -399,7 +401,7 @@ def make_rst_class(class_def, state, dry_run, output_dir): # type: (ClassDef, S
|
|
|
|
|
|
# Warn contributors not to edit this file directly
|
|
|
f.write(":github_url: hide\n\n")
|
|
|
- f.write(".. Generated automatically by doc/tools/makerst.py in Godot's source tree.\n")
|
|
|
+ f.write(".. Generated automatically by doc/tools/make_rst.py in Godot's source tree.\n")
|
|
|
f.write(".. DO NOT EDIT THIS FILE, but the " + class_name + ".xml source instead.\n")
|
|
|
f.write(".. The source is found in doc/classes or modules/<name>/doc_classes.\n\n")
|
|
|
|