Skip to content

Commit

Permalink
docs: Generate rust API docs (#486)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Jul 26, 2024
1 parent 5b3d1d3 commit 297a607
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ jobs:
- name: Copy asf file
run: cp .asf.yaml ./website/book/.asf.yaml

- name: Build API docs
run: |
cargo doc --no-deps --workspace --all-features
cp -r target/doc ./website/book/api
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4.0.0
if: github.event_name == 'push' && github.ref_name == 'main'
Expand Down

0 comments on commit 297a607

Please sign in to comment.