build: serve crate docs (#353)

* build: crate docs

* docs: update table of contents
This commit is contained in:
Myriad-Dreamin 2024-06-28 10:03:26 +08:00 committed by GitHub
parent 7f1de87765
commit 54b0207fe1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 37 additions and 10 deletions

View file

@ -39,6 +39,10 @@ jobs:
- name: Build Book
run: |
shiroa build --font-path ./assets/typst-fonts/ --font-path ./assets/fonts/ --path-to-root /tinymist/ -w . docs/tinymist
- name: Build Cargo Docs
run: |
cargo doc --workspace --no-deps
cp -r target/doc dist/tinymist/rs
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact