Hide latest release from website widget and update icons. (#9636) Before:  After:  (that will be `iree-org/iree` after https://github.com/iree-org/iree/pull/9635) References: * https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-palette-toggle (that lists other popular icon combinations) * https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/ (and https://github.com/squidfunk/mkdocs-material/issues/3800#issuecomment-1090428115)
diff --git a/docs/website/docs/assets/stylesheets/extra.css b/docs/website/docs/assets/stylesheets/extra.css index a0c6a0b..879f575 100644 --- a/docs/website/docs/assets/stylesheets/extra.css +++ b/docs/website/docs/assets/stylesheets/extra.css
@@ -13,3 +13,12 @@ 50% { filter: drop-shadow(0px 2px 0px black); } 100% { filter: drop-shadow(0px 2px 3px black); } } + +/* Hide the "latest GitHub release", since we don't use concise version tags + https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/ */ +.md-source__fact--version { + display: none; +} +.md-source__fact:nth-child(1n+2)::before { + margin-left: 0; +}
diff --git a/docs/website/mkdocs.yml b/docs/website/mkdocs.yml index 9094147..0c3e135 100644 --- a/docs/website/mkdocs.yml +++ b/docs/website/mkdocs.yml
@@ -34,7 +34,7 @@ primary: indigo accent: indigo toggle: - icon: material/toggle-switch-off-outline + icon: material/brightness-7 name: Switch to dark mode # Dark mode - media: "(prefers-color-scheme: dark)" @@ -42,7 +42,7 @@ primary: blue accent: blue toggle: - icon: material/toggle-switch + icon: material/brightness-4 name: Switch to light mode repo_url: https://github.com/iree-org/iree