build dev docs with html root url provided for typenum and bytemuck
This commit is contained in:
parent
6d13c707aa
commit
e0f99c4713
|
@ -135,7 +135,9 @@ pages:
|
|||
- rustup toolchain install --profile minimal nightly-$TARGET
|
||||
- rm -rf public
|
||||
- mkdir public
|
||||
- cargo +nightly-$TARGET doc --no-deps --features "bytemuck num-traits serde std"
|
||||
# TODO: use this when bytemuck and typenum are released with html-root-url attribute set
|
||||
# - cargo +nightly-$TARGET doc --no-deps --features "bytemuck num-traits serde std"
|
||||
- cargo +nightly-$TARGET rustdoc --features "bytemuck num-traits serde std" -- -Z unstable-options --extern-html-root-url typenum=https://docs.rs/typenum/^1.10 --extern-html-root-url bytemuck=https://docs.rs/bytemuck/^1.2
|
||||
- mv target/doc public/dev
|
||||
- bash etc/gen-doc-index.sh
|
||||
artifacts:
|
||||
|
|
Loading…
Reference in New Issue