From 163b107febed867f736e3c04cb9c05779a828b0d Mon Sep 17 00:00:00 2001 From: Christopher LaPointe Date: Fri, 20 Dec 2024 21:55:56 -0500 Subject: [PATCH] Bump mkdocs and take advantage of new features --- mkdocs.yml | 20 ++++++++++++++++++++ requirements.txt | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index a77cf8c2..a3e6c422 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -24,11 +24,31 @@ nav: - Contributing: contributing.md - License: license.md +exclude_docs: images/*.md + theme: name: material features: - navigation.expand + - content.code.copy + - content.action.edit + - navigation.footer + - navigation.instant + - navigation.instant.progress + - navigation.tracking custom_dir: docs/overrides + palette: + - media: "(prefers-color-scheme: light)" + scheme: default + toggle: + icon: material/brightness-7 + name: Switch to dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + primary: black + toggle: + icon: material/brightness-4 + name: Switch to light mode markdown_extensions: - toc: diff --git a/requirements.txt b/requirements.txt index b6091d8d..710c0fc3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -mkdocs==1.2.4 -mkdocs-material==7.3.6 \ No newline at end of file +mkdocs==1.5.3 +mkdocs-material==9.1.* \ No newline at end of file