mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #12731 from mhilbrunner/issue-12584
Ignore files not ending with '.xml' when building doc header
This commit is contained in:
commit
7b26b3b67f
@ -39,6 +39,8 @@ def make_doc_header(target, source, env):
|
||||
docend = ""
|
||||
for s in source:
|
||||
src = s.srcnode().abspath
|
||||
if not src.endswith(".xml"):
|
||||
continue
|
||||
f = open_utf8(src, "r")
|
||||
content = f.read()
|
||||
buf+=content
|
||||
|
Loading…
Reference in New Issue
Block a user