Refactored feature flags

This commit is contained in:
squidfunk 2020-03-05 16:44:55 +01:00
parent 3b9225c6a1
commit 6e6868b8cd
2 changed files with 5 additions and 13 deletions

View File

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

View File

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