File tree Expand file tree Collapse file tree 10 files changed +3232
-0
lines changed Expand file tree Collapse file tree 10 files changed +3232
-0
lines changed Original file line number Diff line number Diff line change 16
16
uses : actions/checkout@v3
17
17
- name : Prepare
18
18
run : cargo install mdbook mdbook-checklist
19
+ - name : Install mdbook-code-align
20
+ run : cargo install --path ./mdbook-code-align
19
21
- name : Build EN version
20
22
run : |
21
23
./lang.sh en
Original file line number Diff line number Diff line change @@ -19,3 +19,6 @@ additional-css = [
19
19
20
20
[preprocessor.checklist]
21
21
title = "Recommendations checklist"
22
+
23
+ [preprocessor.code-align]
24
+ after = ["links"]
Original file line number Diff line number Diff line change @@ -19,3 +19,6 @@ additional-css = [
19
19
20
20
[preprocessor.checklist]
21
21
title = "Liste des recommandations"
22
+
23
+ [preprocessor.code-align]
24
+ after = ["links"]
Original file line number Diff line number Diff line change 47
47
48
48
} ) ;
49
49
50
+ mdbook-code-align = pkgs . rustPlatform . buildRustPackage ( finalAttrs : rec {
51
+ pname = "mdbook-code-align" ;
52
+ version = "0.1.0" ;
53
+
54
+ src = ./mdbook-code-align ;
55
+
56
+ cargoLock = {
57
+ lockFile = "${ src } /Cargo.lock" ;
58
+ } ;
59
+
60
+ } ) ;
61
+
50
62
mdbook-shiftinclude = pkgs . rustPlatform . buildRustPackage ( finalAttrs : rec {
51
63
pname = "mdbook-shiftinclude" ;
52
64
version = "0.1.0" ;
72
84
bash
73
85
mdbook-checklist
74
86
mdbook-shiftinclude
87
+ mdbook-code-align
75
88
] ;
76
89
} ;
77
90
}
Original file line number Diff line number Diff line change
1
+ /target
You can’t perform that action at this time.
0 commit comments