We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b9cb11 commit 3f2c566Copy full SHA for 3f2c566
.github/workflows/generate-docs.yml
@@ -13,6 +13,12 @@ jobs:
13
- name: Checkout repository
14
uses: actions/checkout@v3
15
16
+ - name: Install Rust
17
+ uses: actions-rs/toolchain@v1
18
+ with:
19
+ toolchain: stable
20
+ override: true
21
+
22
- name: Install mdBook
23
uses: taiki-e/install-action@v2
24
with:
@@ -21,6 +27,12 @@ jobs:
27
- name: Build mdBook
28
run: mdbook build docs
29
30
+ - name: Build Rust API Docs (with --no-run)
31
+ run: cargo doc --workspace --no-deps --all-features -- --no-run
32
33
+ - name: Copy Rust API Docs into mdBook output
34
+ run: cp -r target/doc ./docs/book/api
35
36
- name: Deploy to GitHub Pages
25
37
uses: peaceiris/actions-gh-pages@v3
26
38
0 commit comments