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 # Default values, taken from mkdocs_theme.yml
language: en language: en
feature: features:
tabs: true - tabs
instant: false - instant
palette: palette:
primary: indigo primary: indigo
accent: indigo accent: indigo
@ -57,7 +57,7 @@ theme:
text: Roboto text: Roboto
code: Roboto Mono code: Roboto Mono
icon: icon:
logo: material/book-open-variant logo: material/library
repo: fontawesome/brands/git-alt repo: fontawesome/brands/git-alt
favicon: assets/favicon.png favicon: assets/favicon.png
logo: assets/images/icon.svg logo: assets/images/icon.svg

View File

@ -26,15 +26,7 @@ direction:
# Feature flags for functionality that alters behavior significantly, and thus # Feature flags for functionality that alters behavior significantly, and thus
# may be a matter of taste # may be a matter of taste
feature: features: []
# 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
# Sets the primary and accent color palettes as defined in the Material Design # 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 # documentation - possible values can be looked up in the getting started guide