File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
version : ' 3'
3
3
4
+ vars :
5
+ PORT : 8000
6
+ IMAGE : squidfunk/mkdocs-material
7
+
4
8
tasks :
5
9
build :
6
10
desc : Build documentation using Docker and mkdocs-material
7
11
cmds :
8
12
- >-
9
13
docker run --rm -it -v ${PWD}:/docs --platform linux/amd64
10
- squidfunk/mkdocs-material build -f ./mkdocs.yml
14
+ {{ .IMAGE }} build -f ./mkdocs.yml
15
+
16
+ update :
17
+ desc : Update docker container
18
+ cmds :
19
+ - >-
20
+ docker pull {{ .IMAGE }}
21
+
22
+ up :
23
+ desc : Start server
24
+ cmds :
25
+ - task : serve
11
26
12
27
serve :
13
28
desc : >-
@@ -16,12 +31,10 @@ tasks:
16
31
cmds :
17
32
- >-
18
33
docker run --rm -it -p {{ .PORT }}:{{ .PORT}} -v ${PWD}:/docs
19
- --platform linux/amd64 squidfunk/mkdocs-material serve
34
+ --platform linux/amd64 {{ .IMAGE }} serve
20
35
--dev-addr 0.0.0.0:{{ .PORT }} -f ./mkdocs.yml
21
36
deps :
22
37
- build
23
- vars :
24
- PORT : 8000
25
38
26
39
linkcheck :
27
40
desc : Run markdown-link-check
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ enabled = true
33
33
org_name = ORGANIZATION
34
34
```
35
35
36
- ## Prometheus
36
+ ## :simple-prometheus: Prometheus
37
37
38
38
### :floppy_disk : Install
39
39
You can’t perform that action at this time.
0 commit comments