Browse Source

Improve html theme: dark mode, nicer color scheme, icons for github/license, etc.

tags/v0.3.28^2
Ralf Gommers 1 year ago
parent
commit
97df47644d
1 changed files with 35 additions and 1 deletions
  1. +35
    -1
      mkdocs.yml

+ 35
- 1
mkdocs.yml View File

@@ -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…
Cancel
Save