Commit c4f8509 1 parent 7f07ec0 commit c4f8509 Copy full SHA for c4f8509
File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -11,22 +11,28 @@ jobs:
11
11
steps :
12
12
- uses : actions/checkout@v2
13
13
14
- - name : Setup mdBook
14
+ - name : Setup mdbook
15
15
uses : peaceiris/actions-mdbook@v1
16
16
with :
17
17
mdbook-version : " 0.4.6"
18
18
19
- - name : Setup mdBook -mermaid
19
+ - name : Setup mdbook -mermaid
20
20
uses : actions-rs/cargo@v1
21
21
with :
22
22
command : install
23
23
args : mdbook-mermaid
24
24
25
+ - name : Setup mdbook-linkcheck
26
+ uses : actions-rs/cargo@v1
27
+ with :
28
+ command : install
29
+ args : mdbook-linkcheck
30
+
25
31
- run : |
26
32
cd guide
27
33
mdbook build
28
34
- name : Deploy
29
35
uses : peaceiris/actions-gh-pages@v3
30
36
with :
31
37
github_token : ${{ secrets.GITHUB_TOKEN }}
32
- publish_dir : ./guide/book
38
+ publish_dir : ./guide/book
Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ multilingual = false
5
5
src = " src"
6
6
title = " Hermes Documentation"
7
7
8
- [preprocessor ]
9
8
[preprocessor .mermaid ]
10
9
command = " mdbook-mermaid"
11
10
12
11
[output .html ]
13
12
additional-js = [" mermaid.min.js" , " mermaid-init.js" ]
13
+
14
+ [output .linkcheck ]
You can’t perform that action at this time.
0 commit comments