Skip to content

Commit

Permalink
Add missing crates to rustdoc command for website
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechu10 authored May 26, 2022
1 parent bc30dfa commit 94eef35
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,13 @@ jobs:
- name: Build rustdocs
run: |
cd packages/sycamore && cargo doc --no-deps --all-features
cd ../sycamore-core && cargo doc --no-deps --all-features
cd ../sycamore-futures && cargo doc --no-deps --all-features
cd ../sycamore-macro && cargo doc --no-deps --all-features
cd ../sycamore-reactive && cargo doc --no-deps --all-features
cd ../sycamore-router && cargo doc --no-deps --all-features
cd ../sycamore-router-macro && cargo doc --no-deps --all-features
cd ../sycamore-web && cargo doc --no-deps --all-features
cd ../../
cp -r target/doc website/dist/api
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build_website_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,13 @@ jobs:
- name: Build rustdocs
run: |
cd packages/sycamore && cargo doc --no-deps --all-features
cd ../sycamore-core && cargo doc --no-deps --all-features
cd ../sycamore-futures && cargo doc --no-deps --all-features
cd ../sycamore-macro && cargo doc --no-deps --all-features
cd ../sycamore-reactive && cargo doc --no-deps --all-features
cd ../sycamore-router && cargo doc --no-deps --all-features
cd ../sycamore-router-macro && cargo doc --no-deps --all-features
cd ../sycamore-web && cargo doc --no-deps --all-features
cd ../../
cp -r target/doc website/dist/api
Expand Down
2 changes: 1 addition & 1 deletion packages/sycamore/src/suspense.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ mod tests {
if *done.get() {
sender.take().unwrap().send(()).unwrap();
}
})
});
});
receiver.await.unwrap();
unsafe { disposer.dispose() };
Expand Down

0 comments on commit 94eef35

Please sign in to comment.