From 26053e0a4b3dadf465afc6fefb6096e3f9cc2925 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 25 May 2022 09:57:20 +0200 Subject: [PATCH] Added navigation pruning to schema --- docs/schema/theme.json | 7 +++++++ mkdocs.yml | 1 + 2 files changed, 8 insertions(+) diff --git a/docs/schema/theme.json b/docs/schema/theme.json index 0697ca9a9..48f68fc75 100644 --- a/docs/schema/theme.json +++ b/docs/schema/theme.json @@ -592,6 +592,13 @@ "navigation.instant" ] }, + { + "title": "Navigation pruning", + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-pruning", + "enum": [ + "navigation.prune" + ] + }, { "title": "Navigation sections", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-sections", diff --git a/mkdocs.yml b/mkdocs.yml index 0b80ed497..9858ed927 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -56,6 +56,7 @@ theme: # - navigation.expand - navigation.indexes # - navigation.instant + # - navigation.prune - navigation.sections - navigation.tabs # - navigation.tabs.sticky