Skip to content

Commit 1854ccd

Browse files
committed
fix(ci): doc build for pages
1 parent deb0d53 commit 1854ccd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ jobs:
3030
- name: Build rust docs
3131
run: |
3232
mkdir -p _site/
33-
cargo +nightly doc -Zunstable-options -Zrustdoc-scrape-examples --workspace --no-deps --features=all,internals -- --cfg docsrs
33+
cargo +nightly doc -Zunstable-options -Zrustdoc-scrape-examples --workspace --no-deps --features=all,internals
3434
mv target/doc/ _site/main/
35+
env:
36+
RUSTDOCFLAGS: "-Dwarnings --cfg docsrs"
3537
- uses: actions/setup-python@v5
3638
with:
3739
python-version: '3.13'

0 commit comments

Comments
 (0)