From 7078fca5eebef9d3ea314b5072e10754998a413b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20M=C3=AD=C5=A1ek?= Date: Thu, 9 Apr 2020 14:55:55 +0200 Subject: [PATCH] update to material design 5.0.1 --- README.md | 2 +- docs/extra.css | 2 +- mkdocs.yml | 23 ++++++++++++----------- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 2f3768e..2ae2d61 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ python -m pip install --upgrade pip pip install pymdown-extensions pip install mkdocs pip install mkdocs-awesome-pages-plugin -pip install mkdocs-material +pip install mkdocs-material==5.0.1 ``` ## run locally: diff --git a/docs/extra.css b/docs/extra.css index a688d52..51fd824 100644 --- a/docs/extra.css +++ b/docs/extra.css @@ -33,7 +33,7 @@ details.tiny summary { background: none; } details.tiny summary:before { - content: ""; + content: none; } details.tiny ul { padding-left: 16px; diff --git a/mkdocs.yml b/mkdocs.yml index bcba862..e310d6b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -20,11 +20,12 @@ theme: palette: primary: 'deep orange' accent: 'orange' - font: - text: 'Roboto' - code: 'Roboto Mono' - feature: - tabs: true + icon: + logo: material/home + repo: fontawesome/brands/github + features: + - tabs + - instant # Don't include MkDocs' JavaScript include_search_page: false @@ -36,14 +37,12 @@ extra_css: extra: social: - - type: 'home' + - icon: material/home link: 'https://www.peachpie.io/' - - type: 'github' + - icon: fontawesome/brands/github link: 'https://github.com/peachpiecompiler/peachpie' - - type: 'twitter' + - icon: fontawesome/brands/twitter link: 'https://twitter.com/pchpcompiler' - search: - language: 'en' # Google Analytics google_analytics: @@ -71,5 +70,7 @@ markdown_extensions: # plugins plugins: - - search + - search: + lang: + - en - awesome-pages