Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.

Commit 76ca465

Browse files
committed
docs(deps): update mkdocs to 7.1.0
1 parent ca1ce77 commit 76ca465

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

build/docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Building Docs"
1212
docker run \
1313
--userns=host \
1414
--workdir=/docs \
15-
-v "$(pwd)":/docs squidfunk/mkdocs-material:6.2.4 \
15+
-v "$(pwd)":/docs squidfunk/mkdocs-material:7.1.0 \
1616
build -v -s --config-file /docs/mkdocs.yml
1717

1818
sudo chown -R "$USER" _site/

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
version: "2.4"
1+
version: "2.3"
22
services:
33
site:
4-
image: squidfunk/mkdocs-material:6.2.4
5-
runtime: runsc-kvm
6-
userns_mode: "host"
4+
image: squidfunk/mkdocs-material:7.1.0
5+
# runtime: runsc-kvm
6+
userns_mode: host
77
# it is important to specify dev address as 0.0.0.0 otherwise server
88
# wont listen on required interfaces.
99
command: -v serve --dev-addr=0.0.0.0:8000

mkdocs.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ theme:
2020
name: material
2121
features:
2222
- navigation.instant
23+
- navigation.top
2324
icon:
2425
logo: material/book
2526
repo: fontawesome/brands/github-alt
@@ -28,9 +29,22 @@ theme:
2829
language: en
2930
# Color Settings
3031
palette:
31-
scheme: slate
32-
primary: orange
33-
accent: cyan
32+
- media: "(prefers-color-scheme: light)"
33+
scheme: default
34+
primary: orange
35+
accent: orange
36+
toggle:
37+
icon: material/toggle-switch-off-outline
38+
name: Switch to dark mode
39+
40+
# Dark mode
41+
- media: "(prefers-color-scheme: dark)"
42+
scheme: slate
43+
primary: orange
44+
accent: orange
45+
toggle:
46+
icon: material/toggle-switch
47+
name: Switch to light mode
3448
# Fonts
3549
font:
3650
text: Ubuntu

0 commit comments

Comments
 (0)