diff options
author | Dirk Baechle <dl9obn@darc.de> | 2013-05-03 22:27:37 (GMT) |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2013-05-03 22:27:37 (GMT) |
commit | 6af67d1431b5d534731ff0dc17ff306639a1a854 (patch) | |
tree | 5ce85eab2b68b7500ff5ce45049bcf57c3296e75 /bin/docs-check-unique-examples.py | |
parent | 10afdcc2e22670940b7de6319f614cb177f83516 (diff) | |
download | SCons-6af67d1431b5d534731ff0dc17ff306639a1a854.zip SCons-6af67d1431b5d534731ff0dc17ff306639a1a854.tar.gz SCons-6af67d1431b5d534731ff0dc17ff306639a1a854.tar.bz2 |
- corrected xincludes for MAN pages
- started to work on support for UserGuide examples
- added xslt for transforming SCons XSD to Docbook documents
- added SConstructs for all documents and titlepage for the UserGuide
Diffstat (limited to 'bin/docs-check-unique-examples.py')
-rw-r--r-- | bin/docs-check-unique-examples.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/docs-check-unique-examples.py b/bin/docs-check-unique-examples.py new file mode 100644 index 0000000..d9e5cf6 --- /dev/null +++ b/bin/docs-check-unique-examples.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python +# +# Searches through the whole doc/user tree and verifies +# that the names of the single examples are unique over +# all *.xml files. +# Additionally, the suffix entries have to be unique +# within each scons_command_output. +# + +import os +import SConsExamples + +if __name__ == "__main__": + if SConsExamples.exampleNamesAreUnique(os.path.join('doc','user')): + print "OK" + else: + print "Not all example names and suffixes are unique! Please correct the errors listed above and try again." |