Browse Source

Merge pull request #12731 from mhilbrunner/issue-12584

Ignore files not ending with '.xml' when building doc header
Rémi Verschelde 7 years ago
parent
commit
7b26b3b67f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/SCsub

+ 2 - 0
editor/SCsub

@@ -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