forked from mirrors/gstreamer-rs
ci: link to external dependencies instead of building them for docs
This commit is contained in:
parent
d69f8793d5
commit
b83b8c8675
1 changed files with 5 additions and 2 deletions
|
@ -28,6 +28,8 @@ include:
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
FDO_UPSTREAM_REPO: gstreamer/gstreamer-rs
|
FDO_UPSTREAM_REPO: gstreamer/gstreamer-rs
|
||||||
|
RUST_DOCS_FLAGS: "--extern-html-root-url=glib=https://gtk-rs.org/gtk-rs/ --extern-html-root-url=gio=https://gtk-rs.org/gtk-rs/ --extern-html-root-url=muldiv=https://docs.rs/muldiv/1.0.0/muldiv/ -Z unstable-options"
|
||||||
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- "container-base"
|
- "container-base"
|
||||||
|
@ -449,18 +451,19 @@ docs:
|
||||||
- |
|
- |
|
||||||
for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do
|
for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do
|
||||||
pushd $crate
|
pushd $crate
|
||||||
cargo +nightly doc --color=always --features=dox,embed-lgpl-docs
|
RUSTDOCFLAGS="$RUST_DOCS_FLAGS" cargo +nightly doc --color=always --features=dox,embed-lgpl-docs --no-deps
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
extends: .img-nightly
|
extends: .img-nightly
|
||||||
stage: 'deploy'
|
stage: 'deploy'
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do
|
for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do
|
||||||
cd $crate
|
cd $crate
|
||||||
cargo +nightly doc --color=always --features=dox,embed-lgpl-docs
|
RUSTDOCFLAGS="$RUST_DOCS_FLAGS" cargo +nightly doc --color=always --features=dox,embed-lgpl-docs --no-deps
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
- mv target/doc public/
|
- mv target/doc public/
|
||||||
|
|
Loading…
Reference in a new issue