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_name: OpenBLAS
|
||||||
site_url: https://openblas.net/docs/
|
site_url: https://openblas.net/docs/
|
||||||
|
repo_url: https://github.com/OpenMathLib/OpenBLAS
|
||||||
|
copyright: Copyright © 2012- OpenBLAS contributors
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
logo: logo.svg
|
logo: logo.svg
|
||||||
favicon: logo.svg
|
favicon: logo.svg
|
||||||
|
features:
|
||||||
|
- header.autohide
|
||||||
palette:
|
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:
|
markdown_extensions:
|
||||||
- admonition
|
- admonition
|
||||||
- pymdownx.details
|
- pymdownx.details
|
||||||
- pymdownx.superfences
|
- pymdownx.superfences
|
||||||
|
- footnotes
|
||||||
|
- pymdownx.tabbed:
|
||||||
|
alternate_style: true
|
||||||
- toc:
|
- toc:
|
||||||
toc_depth: 4
|
toc_depth: 4
|
||||||
|
|
||||||
nav:
|
nav:
|
||||||
- index.md
|
- index.md
|
||||||
- install.md
|
- install.md
|
||||||
|
@ -23,3 +50,10 @@ nav:
|
||||||
- ci.md
|
- ci.md
|
||||||
- about.md
|
- about.md
|
||||||
- faq.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