ci: Update docs generation for new configuration mechanism

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1256>
This commit is contained in:
Sebastian Dröge 2023-05-04 08:54:43 +03:00
parent 40578ae7e9
commit 5c331e7e77

View file

@ -518,8 +518,9 @@ docs:
- PATH=~/.cargo/bin/:$PATH ./generator.py --gir-files-directories gir-files gst-gir-files --embed-docs --no-fmt
- |
RUSTDOCFLAGS="$RUST_DOCS_FLAGS"
RUSTFLAGS="--cfg docsrs"
eval $(./gir-rustdoc.py pre-docs)
cargo +nightly doc --workspace --exclude examples --exclude tutorials --color=always --features=dox --no-deps
cargo +nightly doc --workspace --exclude examples --exclude tutorials --color=always --no-deps
- mv target/doc docs
artifacts:
paths: