File tree 6 files changed +55
-0
lines changed
6 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 8
8
- ' .github/workflows/release-plz.yml'
9
9
- ' .github/workflows/bevy_api_gen.yml'
10
10
- ' .github/workflows/macro_tests.yml'
11
+ - ' docs/**'
11
12
12
13
13
14
name : Check and Lint - bevy_mod_scripting
Original file line number Diff line number Diff line change
1
+ name : Deploy mdBook to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " **"
7
+ paths :
8
+ - ' docs/**'
9
+ - ' .github/workflows/mdbook.yml'
10
+
11
+ jobs :
12
+
13
+ build :
14
+ name : Build Book - mdbook
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+
18
+ - name : Checkout repository
19
+ uses : actions/checkout@v4
20
+
21
+ - uses : actions-rs/toolchain@v1
22
+ with :
23
+ toolchain : stable
24
+ override : true
25
+ - name : Rust Cache
26
+
27
+ - name : Install mdBook
28
+ run : cargo install mdbook
29
+
30
+ - name : Build the book
31
+ run : cd docs && mdbook build
32
+
33
+ - name : Deploy to GitHub Pages
34
+ if : github.ref == 'refs/heads/main'
35
+ uses : peaceiris/actions-gh-pages@v3
36
+ with :
37
+ github_token : ${{ secrets.GITHUB_TOKEN }}
38
+ publish_dir : docs/book
Original file line number Diff line number Diff line change
1
+ book
Original file line number Diff line number Diff line change
1
+ [book ]
2
+ authors = [" makspll" ]
3
+ language = " en"
4
+ multilingual = false
5
+ src = " src"
6
+ title = " Bevy Scripting"
Original file line number Diff line number Diff line change
1
+ # Summary
2
+
3
+ - [ Chapter 1] ( ./chapter_1.md )
Original file line number Diff line number Diff line change
1
+ # Chapter 1
2
+
3
+
4
+ ## Introduction
5
+
6
+ Welcome to the greatest documentation of all time WIP
You can’t perform that action at this time.
0 commit comments