aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/doxygen
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-06 12:41:21 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-06 12:41:21 -0800
commite519a03a1f0fc36849a5b80192ae2815902ba82b (patch)
treefedfa3addc87fb36e06642698c3b54a74f858568 /templates/tools/doxygen
parent4ce5bd102ee20061482b1746ec5c5176fe213e43 (diff)
Small improvements to generated documentation
Diffstat (limited to 'templates/tools/doxygen')
-rw-r--r--templates/tools/doxygen/Doxyfile.include22
1 files changed, 15 insertions, 7 deletions
diff --git a/templates/tools/doxygen/Doxyfile.include b/templates/tools/doxygen/Doxyfile.include
index 8b0c528c1f..7fe8a29746 100644
--- a/templates/tools/doxygen/Doxyfile.include
+++ b/templates/tools/doxygen/Doxyfile.include
@@ -8,7 +8,9 @@
<%def name="gen_doxyfile(libnames, packagename, collection, internal)">
<%
import itertools
+ import glob
targets = []
+ docpackage = packagename.replace('+', 'p').lower()
for libname in libnames:
target = None
for p in collection:
@@ -778,13 +780,19 @@ WARN_LOGFILE =
# spaces.
# Note: If this tag is empty the current directory is searched.
-INPUT = ${' \\\n'.join(
- itertools.chain.from_iterable(
- target.public_headers +
- ([]
- if not internal
- else target.headers + target.src)
- for target in targets))}
+INPUT = ${
+ ' \\\n'.join(
+ itertools.chain(
+ itertools.chain.from_iterable(
+ target.public_headers +
+ ([]
+ if not internal
+ else target.headers + target.src)
+ for target in targets),
+ glob.glob('doc/*.md'),
+ glob.glob('doc/%s/*.md' % docpackage))
+ )
+}
# 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