diff options
Diffstat (limited to 'templates/tools/doxygen/Doxyfile.include')
-rw-r--r-- | templates/tools/doxygen/Doxyfile.include | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/templates/tools/doxygen/Doxyfile.include b/templates/tools/doxygen/Doxyfile.include index 3c15487f4b..879495aae8 100644 --- a/templates/tools/doxygen/Doxyfile.include +++ b/templates/tools/doxygen/Doxyfile.include @@ -1,4 +1,11 @@ -<%def name="gen_doxyfile(libnames, packagename, collection)"> +## Populates "targets" for all names in the collection "libnames" that are +## part of "collection". +## +## Note that "packagename" and "internal" while not used +## in the function itself are referenced in the template. +## When "internal" is true, documentation for non-public headers +## and sources is also taken as input to Doxygen (see INPUT). +<%def name="gen_doxyfile(libnames, packagename, collection, internal)"> <% import itertools targets = [] @@ -770,7 +777,13 @@ WARN_LOGFILE = # spaces. # Note: If this tag is empty the current directory is searched. -INPUT = ${' '.join(itertools.chain.from_iterable(target.public_headers for target in targets))} +INPUT = ${' '.join( + itertools.chain.from_iterable( + target.public_headers + + ([] + if not internal + else target.headers + target.src) + for target in targets))} # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses |