aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/tools/doxygen/Doxyfile.c++.internal.template2
-rw-r--r--templates/tools/doxygen/Doxyfile.c++.template2
-rw-r--r--templates/tools/doxygen/Doxyfile.core.internal.template2
-rw-r--r--templates/tools/doxygen/Doxyfile.core.template2
-rw-r--r--templates/tools/doxygen/Doxyfile.include10
5 files changed, 14 insertions, 4 deletions
diff --git a/templates/tools/doxygen/Doxyfile.c++.internal.template b/templates/tools/doxygen/Doxyfile.c++.internal.template
new file mode 100644
index 0000000000..abaf52440a
--- /dev/null
+++ b/templates/tools/doxygen/Doxyfile.c++.internal.template
@@ -0,0 +1,2 @@
+<%namespace file="Doxyfile.include" import="gen_doxyfile"/>\
+${gen_doxyfile(['grpc++'], 'C++', libs, True)}
diff --git a/templates/tools/doxygen/Doxyfile.c++.template b/templates/tools/doxygen/Doxyfile.c++.template
index fca30632a3..6cedfa5fe5 100644
--- a/templates/tools/doxygen/Doxyfile.c++.template
+++ b/templates/tools/doxygen/Doxyfile.c++.template
@@ -1,2 +1,2 @@
<%namespace file="Doxyfile.include" import="gen_doxyfile"/>\
-${gen_doxyfile(['grpc++'], 'C++', libs)}
+${gen_doxyfile(['grpc++'], 'C++', libs, False)}
diff --git a/templates/tools/doxygen/Doxyfile.core.internal.template b/templates/tools/doxygen/Doxyfile.core.internal.template
new file mode 100644
index 0000000000..8d7963aa85
--- /dev/null
+++ b/templates/tools/doxygen/Doxyfile.core.internal.template
@@ -0,0 +1,2 @@
+<%namespace file="Doxyfile.include" import="gen_doxyfile"/>\
+${gen_doxyfile(['grpc', 'gpr'], 'Core', libs, True)}
diff --git a/templates/tools/doxygen/Doxyfile.core.template b/templates/tools/doxygen/Doxyfile.core.template
index 205f892287..69b189fdfd 100644
--- a/templates/tools/doxygen/Doxyfile.core.template
+++ b/templates/tools/doxygen/Doxyfile.core.template
@@ -1,2 +1,2 @@
<%namespace file="Doxyfile.include" import="gen_doxyfile"/>\
-${gen_doxyfile(['grpc', 'gpr'], 'Core', libs)}
+${gen_doxyfile(['grpc', 'gpr'], 'Core', libs, False)}
diff --git a/templates/tools/doxygen/Doxyfile.include b/templates/tools/doxygen/Doxyfile.include
index 3c15487f4b..3f1c7d8920 100644
--- a/templates/tools/doxygen/Doxyfile.include
+++ b/templates/tools/doxygen/Doxyfile.include
@@ -1,4 +1,4 @@
-<%def name="gen_doxyfile(libnames, packagename, collection)">
+<%def name="gen_doxyfile(libnames, packagename, collection, internal)">
<%
import itertools
targets = []
@@ -770,7 +770,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