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 <aideen.mcloughlin@intel.com>
This commit is contained in:
Aideen McLoughlin 2019-06-27 14:58:19 +01:00 committed by Thomas Monjalon
parent 42490f3873
commit 92d6c874d3
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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