From 3335693cc1afe6742e9a5e726a682dd28b0ce4d4 Mon Sep 17 00:00:00 2001 From: Chris Luke Date: Wed, 10 May 2017 11:40:27 -0400 Subject: 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 --- doxygen/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doxygen/Makefile b/doxygen/Makefile index 9caa4079980..abaca185d74 100644 --- a/doxygen/Makefile +++ b/doxygen/Makefile @@ -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 -- cgit 1.2.3-korg