From 6e6868b8cdfe747184f6d5a7c2e1a1fd688be9f0 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 5 Mar 2020 16:44:55 +0100 Subject: [PATCH] Refactored feature flags --- mkdocs.yml | 8 ++++---- src/mkdocs_theme.yml | 10 +--------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 831dbfba0..a55c9fe5a 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -47,9 +47,9 @@ theme: # Default values, taken from mkdocs_theme.yml language: en - feature: - tabs: true - instant: false + features: + - tabs + - instant palette: primary: indigo accent: indigo @@ -57,7 +57,7 @@ theme: text: Roboto code: Roboto Mono icon: - logo: material/book-open-variant + logo: material/library repo: fontawesome/brands/git-alt favicon: assets/favicon.png logo: assets/images/icon.svg diff --git a/src/mkdocs_theme.yml b/src/mkdocs_theme.yml index efccd97fe..df133a1cf 100644 --- a/src/mkdocs_theme.yml +++ b/src/mkdocs_theme.yml @@ -26,15 +26,7 @@ direction: # Feature flags for functionality that alters behavior significantly, and thus # may be a matter of taste -feature: - - # Another layer on top of the main navigation for larger screens in the form - # of tabs, especially useful for larger documentation projects - tabs: false - - # Instant loading will instruct the application to intercept all internal - # links, load and inject the HTML into the page and rebind all handlers - instant: false +features: [] # Sets the primary and accent color palettes as defined in the Material Design # documentation - possible values can be looked up in the getting started guide