Add support for customizing navigation bar styles in the mkdocs theme

This commit is contained in:
Jim Porter
2019-12-16 12:35:26 -08:00
committed by Waylan Limberg
parent 2172c9f999
commit 15e31f7e68
6 changed files with 17 additions and 5 deletions

View File

@@ -73,6 +73,14 @@ supports the following options:
* __`search`__: Display the search modal. Default: `83` (s)
* __`nav_style`__: This adjusts the visual style for the top navigation bar; by
default, this is set to `primary` (the default), but it can also be set to
`dark` or `light`.
theme:
name: mkdocs
nav_style: dark
[styles]: https://highlightjs.org/static/demo/
### readthedocs