From 3df37ead007402a554d60a44aec0acf74fe17418 Mon Sep 17 00:00:00 2001 From: Nicolas MASSART Date: Fri, 2 Aug 2019 19:12:01 +0200 Subject: [PATCH] exclude files that are not expected to be visible in the doc or not directly (#1806) it prenvets some pages like developer/ and community/ pages that are not linked in the nav but we did not decided yet what to do with to appear in the doc search. Files like includes for test accounts also don't have any reason to be accessed directly. Signed-off-by: Adrian Sutton --- docs/requirements.txt | 3 ++- mkdocs.yml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 6865244f0f..de131bc81c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -5,4 +5,5 @@ Markdown>=3.1 markdown-fenced-code-tabs>=1.0 markdown-include>=0.5 MarkupSafe>=1.1 -mkdocs-markdownextradata-plugin==0.0.5 \ No newline at end of file +mkdocs-markdownextradata-plugin==0.0.5 +mkdocs-exclude==1.0.2 \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 6cd193d805..b9d3eeeeca 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -185,3 +185,8 @@ markdown_extensions: plugins: - search - markdownextradata + - exclude: + glob: + - development/* + - community/* + - global/* \ No newline at end of file