Ignore files not ending with '.xml' when building doc header
This commit is contained in:
parent
b279f641c0
commit
487afde3bb
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ def make_doc_header(target, source, env):
|
||||||
docend = ""
|
docend = ""
|
||||||
for s in source:
|
for s in source:
|
||||||
src = s.srcnode().abspath
|
src = s.srcnode().abspath
|
||||||
|
if not src.endswith(".xml"):
|
||||||
|
continue
|
||||||
f = open_utf8(src, "r")
|
f = open_utf8(src, "r")
|
||||||
content = f.read()
|
content = f.read()
|
||||||
buf+=content
|
buf+=content
|
||||||
|
|
Loading…
Reference in a new issue