Ignore files not ending with '.xml' when building doc header

This commit is contained in:
mhilbrunner 2017-11-07 22:28:07 +01:00
parent b279f641c0
commit 487afde3bb

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