diff --git a/mkdocs.yml b/mkdocs.yml index 69598229990..acdf3ba0161 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -17,12 +17,19 @@ theme: logo: loop-logo.png favicon: loop-logo.png palette: + + # Palette toggle for automatic mode + - media: "(prefers-color-scheme)" + toggle: + icon: material/brightness-auto + name: Switch to light mode + # Palette toggle for light mode - media: "(prefers-color-scheme: light)" scheme: default primary: custom toggle: - icon: material/brightness-7 + icon: material/weather-sunny name: Switch to dark mode # Palette toggle for dark mode @@ -30,8 +37,8 @@ theme: scheme: slate primary: custom toggle: - icon: material/brightness-4 - name: Switch to light mode + icon: material/weather-night + name: Switch to auto (use System Preferences) # repo_url: https://github.com/LoopKit/Loop @@ -48,8 +55,8 @@ markdown_extensions: generic: true - pymdownx.details - pymdownx.emoji: - emoji_index: !!python/name:materialx.emoji.twemoji - emoji_generator: !!python/name:materialx.emoji.to_svg + emoji_index: !!python/name:material.extensions.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg - pymdownx.highlight - pymdownx.mark - pymdownx.tilde @@ -110,12 +117,9 @@ plugins: enabled: !ENV [CHECK_UNUSED_FILES, False] excluded_files: - .DS_Store - - build/.DS_Store - - gh-actions/.DS_Store - - gh-actions/img/.DS_Store - loop-logo.png - - stylesheets/extra.css - - stylesheets/primary-color.css + - extra.css + - primary-color.css use_directory_urls: !ENV [CHECK_BROKEN_LINKS, True] diff --git a/requirements.txt b/requirements.txt index 5cd0ca97d8f..7c201c6fba1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,37 +1,32 @@ -Babel==2.13.0 -beautifulsoup4==4.12.2 -certifi==2023.7.22 -charset-normalizer==3.0.1 -click==8.1.3 +Babel==2.14.0 +beautifulsoup4==4.12.3 +certifi==2023.11.17 +charset-normalizer==3.3.2 +click==8.1.7 colorama==0.4.6 -EditorConfig==0.12.3 ghp-import==2.1.0 -idna==3.4 -importlib-metadata==6.0.0 +idna==3.6 Jinja2==3.1.3 -jsbeautifier==1.14.7 -Markdown==3.3.7 -MarkupSafe==2.1.2 +Markdown==3.5.2 +MarkupSafe==2.1.4 mergedeep==1.3.4 mkdocs==1.5.3 -mkdocs-htmlproofer-plugin==0.13.1 -mkdocs-material==9.4.6 -mkdocs-material-extensions==1.2 +mkdocs-htmlproofer-plugin==1.0.0 +mkdocs-material==9.5.6 mkdocs-redirects==1.2.1 -mkdocs-unused-files==0.1.7 -packaging==23.0 +mkdocs-unused-files==0.2.0 +packaging==23.2 paginate==0.5.6 -pathspec==0.11.2 -platformdirs==3.11.0 -Pygments==2.16.1 -pymdown-extensions==10.3 +pathspec==0.12.1 +platformdirs==4.1.0 +Pygments==2.17.2 +pymdown-extensions==10.7 python-dateutil==2.8.2 PyYAML==6.0.1 pyyaml_env_tag==0.1 -regex==2022.10.31 +regex==2023.12.25 requests==2.31.0 six==1.16.0 -soupsieve==2.3.2.post1 -urllib3==2.0.7 -watchdog==2.2.1 -zipp==3.12.0 +soupsieve==2.5 +urllib3==2.1.0 +watchdog==3.0.0