Skip to content

Commit

Permalink
Stub documentation for some gRPC Core modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Jan 6, 2017
1 parent e519a03 commit d9ed57c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
9 changes: 8 additions & 1 deletion templates/tools/doxygen/Doxyfile.include
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<%
import itertools
import glob
import os
targets = []
docpackage = packagename.replace('+', 'p').lower()
for libname in libnames:
Expand All @@ -18,6 +19,11 @@
target = p
assert(target)
targets.append(target)
srcdoc = []
for dirpath, dirnames, filenames in os.walk('src/%s' % docpackage):
for filename in filenames:
if os.path.splitext(filename)[1] == '.md':
srcdoc.append(os.path.join(dirpath, filename))
%>
# Doxyfile 1.8.9.1

Expand Down Expand Up @@ -790,7 +796,8 @@ INPUT = ${
else target.headers + target.src)
for target in targets),
glob.glob('doc/*.md'),
glob.glob('doc/%s/*.md' % docpackage))
glob.glob('doc/%s/*.md' % docpackage),
[] if not internal else srcdoc)
)
}

Expand Down
3 changes: 2 additions & 1 deletion tools/doxygen/Doxyfile.c++.internal
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,8 @@ doc/interop-test-descriptions.md \
doc/statuscodes.md \
doc/g_stands_for.md \
doc/cpp/perf_notes.md \
doc/cpp/pending_api_cleanups.md
doc/cpp/pending_api_cleanups.md \
src/cpp/README.md

# 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
Expand Down
23 changes: 22 additions & 1 deletion tools/doxygen/Doxyfile.core.internal
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,28 @@ doc/server-reflection.md \
doc/interop-test-descriptions.md \
doc/statuscodes.md \
doc/g_stands_for.md \
doc/core/pending_api_cleanups.md
doc/core/pending_api_cleanups.md \
src/core/README.md \
src/core/ext/README.md \
src/core/ext/transport/README.md \
src/core/ext/transport/chttp2/README.md \
src/core/ext/transport/chttp2/client/secure/README.md \
src/core/ext/transport/chttp2/client/insecure/README.md \
src/core/ext/transport/chttp2/transport/README.md \
src/core/ext/transport/chttp2/server/secure/README.md \
src/core/ext/transport/chttp2/server/insecure/README.md \
src/core/ext/client_channel/README.md \
src/core/ext/resolver/README.md \
src/core/ext/resolver/sockaddr/README.md \
src/core/ext/resolver/dns/native/README.md \
src/core/ext/census/README.md \
src/core/ext/census/gen/README.md \
src/core/lib/README.md \
src/core/lib/tsi/README.md \
src/core/lib/channel/README.md \
src/core/lib/transport/README.md \
src/core/lib/iomgr/README.md \
src/core/lib/surface/README.md

# 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
Expand Down

0 comments on commit d9ed57c

Please sign in to comment.