mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
build: serve crate docs (#353)
* build: crate docs * docs: update table of contents
This commit is contained in:
parent
7f1de87765
commit
54b0207fe1
5 changed files with 37 additions and 10 deletions
4
.github/workflows/gh_pages.yml
vendored
4
.github/workflows/gh_pages.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue