Skip to content

Commit

Permalink
Merge pull request #784 from ebouchut/config/upgrade_dependencies
Browse files Browse the repository at this point in the history
⬆️ Upgrade dependencies and 💄 (UI Change) Add automatic dark/light toggle
  • Loading branch information
ebouchut authored Jan 28, 2024
2 parents c9b709d + 78a359f commit 2898930
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 35 deletions.
24 changes: 14 additions & 10 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,28 @@ 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
- media: "(prefers-color-scheme: dark)"
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

Expand All @@ -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
Expand Down Expand Up @@ -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]

Expand Down
45 changes: 20 additions & 25 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2898930

Please sign in to comment.