This repository was archived by the owner on Aug 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +22
-8
lines changed Expand file tree Collapse file tree 3 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ echo "Building Docs"
12
12
docker run \
13
13
--userns=host \
14
14
--workdir=/docs \
15
- -v " $( pwd) " :/docs squidfunk/mkdocs-material:6.2.4 \
15
+ -v " $( pwd) " :/docs squidfunk/mkdocs-material:7.1.0 \
16
16
build -v -s --config-file /docs/mkdocs.yml
17
17
18
18
sudo chown -R " $USER " _site/
Original file line number Diff line number Diff line change 1
- version : " 2.4 "
1
+ version : " 2.3 "
2
2
services :
3
3
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
7
7
# it is important to specify dev address as 0.0.0.0 otherwise server
8
8
# wont listen on required interfaces.
9
9
command : -v serve --dev-addr=0.0.0.0:8000
Original file line number Diff line number Diff line change 20
20
name : material
21
21
features :
22
22
- navigation.instant
23
+ - navigation.top
23
24
icon :
24
25
logo : material/book
25
26
repo : fontawesome/brands/github-alt
@@ -28,9 +29,22 @@ theme:
28
29
language : en
29
30
# Color Settings
30
31
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
34
48
# Fonts
35
49
font :
36
50
text : Ubuntu
You can’t perform that action at this time.
0 commit comments