File tree Expand file tree Collapse file tree 3 files changed +42
-53
lines changed
Expand file tree Collapse file tree 3 files changed +42
-53
lines changed Original file line number Diff line number Diff line change 1+ [workspace ]
2+ members = [
3+ " ../rustecal" ,
4+ " ../rustecal-types-string" ,
5+ " ../rustecal-types-bytes" ,
6+ " ../rustecal-types-protobuf"
7+ ]
8+
9+ resolver = " 2"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Generate API Documentation
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ doc :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v3
15+
16+ - name : Set up Rust (nightly) with docs
17+ uses : actions-rs/toolchain@v1
18+ with :
19+ toolchain : nightly
20+ override : true
21+ components : rust-docs
22+
23+ - name : Generate Rust API documentation (doc-only workspace)
24+ working-directory : .doc
25+ run : |
26+ export RUSTDOCFLAGS="--cfg docsrs"
27+ cargo +nightly doc --no-deps --workspace
28+
29+ - name : Deploy to GitHub Pages
30+ uses : peaceiris/actions-gh-pages@v3
31+ with :
32+ github_token : ${{ secrets.GITHUB_TOKEN }}
33+ publish_dir : .doc/target/doc
You can’t perform that action at this time.
0 commit comments