From 64baccf5be9606cf1b51c9bdca6fe220859f8821 Mon Sep 17 00:00:00 2001 From: Lennard Beers Date: Thu, 5 Dec 2024 05:50:19 +0100 Subject: [PATCH] docs: remove cookie banner, fix dark mode --- mkdocs.yml | 19 ++++--------------- uv.lock | 8 ++++---- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 9837566..3563124 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -12,20 +12,20 @@ theme: repo: fontawesome/brands/github name: "material" palette: - - scheme: default + - scheme: slate media: "(prefers-color-scheme: dark)" primary: indigo accent: orange toggle: - icon: "material/weather-night" + icon: "material/weather-sunny" name: Switch to light mode - - scheme: slate + - scheme: default media: "(prefers-color-scheme: light)" primary: indigo accent: orange toggle: - icon: "material/weather-sunny" + icon: "material/weather-night" name: Switch to dark mode features: - navigation.instant @@ -41,17 +41,6 @@ theme: extra: generator: false - consent: - title: Cookie consent - description: >- - We use cookies to recognize your repeated visits and preferences, as well - as to measure the effectiveness of our documentation and whether users - find what they're searching for. With your consent, you're helping us to - make our documentation better. - actions: - - accept - - manage - - reject social: - icon: fontawesome/brands/github name: View on GitHub diff --git a/uv.lock b/uv.lock index 6f87af0..250f368 100644 --- a/uv.lock +++ b/uv.lock @@ -211,8 +211,8 @@ docs = [ [package.metadata] requires-dist = [ - { name = "bleak" }, - { name = "construct-typing" }, + { name = "bleak", specifier = ">=0.22.3" }, + { name = "construct-typing", specifier = ">=0.6.2" }, ] [package.metadata.requires-dev] @@ -225,8 +225,8 @@ dev = [ { name = "ruff" }, ] docs = [ - { name = "mkdocs-gen-files", specifier = ">=0.5.0" }, - { name = "mkdocs-literate-nav", specifier = ">=0.6.1" }, + { name = "mkdocs-gen-files" }, + { name = "mkdocs-literate-nav" }, { name = "mkdocs-material" }, { name = "mkdocstrings", extras = ["python"] }, ]