Merge pull request #12731 from mhilbrunner/issue-12584

Ignore files not ending with '.xml' when building doc header
This commit is contained in:
Rémi Verschelde 2017-11-08 11:12:53 +01:00 committed by GitHub
commit 7b26b3b67f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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