Improve html theme: dark mode, nicer color scheme, icons for github/license, etc.
This commit is contained in:
parent
1ba1b9c357
commit
97df47644d
36
mkdocs.yml
36
mkdocs.yml
|
@ -1,17 +1,44 @@
|
|||
site_name: OpenBLAS
|
||||
site_url: https://openblas.net/docs/
|
||||
repo_url: https://github.com/OpenMathLib/OpenBLAS
|
||||
copyright: Copyright © 2012- OpenBLAS contributors
|
||||
|
||||
theme:
|
||||
name: material
|
||||
logo: logo.svg
|
||||
favicon: logo.svg
|
||||
features:
|
||||
- header.autohide
|
||||
palette:
|
||||
primary: grey
|
||||
# Palette toggle for dark mode
|
||||
- scheme: slate
|
||||
primary: blue grey
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to light mode
|
||||
|
||||
# Palette toggle for light mode
|
||||
- scheme: default
|
||||
primary: blue grey
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- git-revision-date-localized:
|
||||
enable_creation_date: true
|
||||
|
||||
markdown_extensions:
|
||||
- admonition
|
||||
- pymdownx.details
|
||||
- pymdownx.superfences
|
||||
- footnotes
|
||||
- pymdownx.tabbed:
|
||||
alternate_style: true
|
||||
- toc:
|
||||
toc_depth: 4
|
||||
|
||||
nav:
|
||||
- index.md
|
||||
- install.md
|
||||
|
@ -23,3 +50,10 @@ nav:
|
|||
- ci.md
|
||||
- about.md
|
||||
- faq.md
|
||||
|
||||
extra:
|
||||
social:
|
||||
- icon: fontawesome/brands/github
|
||||
link: https://github.com/OpenMathLib/OpenBLAS
|
||||
- icon: material/license
|
||||
link: https://github.com/OpenMathLib/OpenBLAS/LICENSE
|
||||
|
|
Loading…
Reference in New Issue