doxygen: Fix some paths

- Add missing src dir.
- Exclude 'src/examples' from siphon processing so that example cli commands
  don't end up in user documentation.

Change-Id: I46a6ad759fa8220d305b007a9506956365fc79bd
Signed-off-by: Chris Luke <chrisy@flirble.org>
This commit is contained in:
Chris Luke
2017-05-10 11:40:27 -04:00
committed by Dave Barach
parent c83c8ed1db
commit 3335693cc1

View File

@ -54,6 +54,7 @@ DOXY_SRC_DIRECTORIES = \
$(DOXY_SRC)/vnet \
$(DOXY_SRC)/vpp \
$(DOXY_SRC)/vpp-api \
$(DOXY_SRC)/uri \
$(DOXY_SRC)/examples
# Input directories and files
@ -72,7 +73,7 @@ DOXY_INPUT := $(subst $(WS_ROOT)/,,$(DOXY_INPUT))
# there's a DPDK equivalent that conflicts.
# These must be left-anchored paths for the regexp below to work.
DOXY_EXCLUDE ?= \
$(DOXY_SRC)/vlib/vlib/buffer.c \
$(DOXY_SRC)/vlib/buffer.c \
$(DOXY_SRC)/vpp-api/lua \
$(DOXY_SRC)/examples/sample-plugin
@ -204,6 +205,7 @@ $(SIPHON_FILES): $(BR)/.doxygen-bootstrap.ok \
cd "$(WS_ROOT)"; \
find "$$input" -type f \
\( -name '*.[ch]' -or -name '*.dox' \) -print \
| grep -v -E '^src/examples/' \
| grep -v -E '^$(DOXY_EXCLUDE_REGEXP)' \
>> $(SIPHON_INPUT)/files; \
done