From: Aideen McLoughlin Date: Thu, 27 Jun 2019 13:58:19 +0000 (+0100) Subject: doc: add search engine for API X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=92d6c874d33dbbd3ace7c06a3490a61ff6641d61;p=dpdk.git doc: add search engine for API I modified the API config file to incorporate a search button into the API documentation page. Signed-off-by: Aideen McLoughlin --- diff --git a/doc/api/doxy-api.conf.in b/doc/api/doxy-api.conf.in index 1fa064b365..908cee8f79 100644 --- a/doc/api/doxy-api.conf.in +++ b/doc/api/doxy-api.conf.in @@ -84,7 +84,7 @@ ALPHABETICAL_INDEX = NO HTML_TIMESTAMP = NO HTML_DYNAMIC_SECTIONS = YES -SEARCHENGINE = NO +SEARCHENGINE = YES SORT_MEMBER_DOCS = NO SOURCE_BROWSER = YES diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk index c44db6447a..fd77e41867 100644 --- a/mk/rte.sdkdoc.mk +++ b/mk/rte.sdkdoc.mk @@ -56,6 +56,7 @@ api-html: $(API_EXAMPLES) .PHONY: api-html-clean api-html-clean: $(Q)rm -f $(API_EXAMPLES) + $(Q)rm -rf $(RTE_OUTPUT)/doc/html/api/search $(Q)rm -f $(RTE_OUTPUT)/doc/html/api/* $(Q)rmdir -p --ignore-fail-on-non-empty $(RTE_OUTPUT)/doc/html/api 2>&- || true