From 8e4c2c30c519060cbae8cde941532b1c05f69fc2 Mon Sep 17 00:00:00 2001 From: Tiago Pereira <1014003+tiagopereira@users.noreply.github.com> Date: Fri, 23 Aug 2024 16:29:00 +0200 Subject: [PATCH] Customise mkdocs --- docs/{home.md => index.md} | 0 mkdocs.yml | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) rename docs/{home.md => index.md} (100%) diff --git a/docs/home.md b/docs/index.md similarity index 100% rename from docs/home.md rename to docs/index.md diff --git a/mkdocs.yml b/mkdocs.yml index 501a4d0..894ee76 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,7 +6,7 @@ repo_name: ita-solar/dlrocs repo_url: https://github.com/ita-solar/dlrocs nav: - - Home: home.md + - Home: index.md - Programme: programme.md - Team: team.md - Practical information: info.md @@ -24,7 +24,8 @@ theme: # Palette toggle for light mode - media: "(prefers-color-scheme: light)" - scheme: default + scheme: default + primary: amber toggle: icon: material/brightness-7 name: Switch to dark mode @@ -32,6 +33,7 @@ theme: # Palette toggle for dark mode - media: "(prefers-color-scheme: dark)" scheme: slate + primary: amber toggle: icon: material/brightness-4 name: Switch to system preference