forked from mirrors/gstreamer-rs
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:
parent
40578ae7e9
commit
5c331e7e77
1 changed files with 2 additions and 1 deletions
|
@ -518,8 +518,9 @@ docs:
|
||||||
- PATH=~/.cargo/bin/:$PATH ./generator.py --gir-files-directories gir-files gst-gir-files --embed-docs --no-fmt
|
- PATH=~/.cargo/bin/:$PATH ./generator.py --gir-files-directories gir-files gst-gir-files --embed-docs --no-fmt
|
||||||
- |
|
- |
|
||||||
RUSTDOCFLAGS="$RUST_DOCS_FLAGS"
|
RUSTDOCFLAGS="$RUST_DOCS_FLAGS"
|
||||||
|
RUSTFLAGS="--cfg docsrs"
|
||||||
eval $(./gir-rustdoc.py pre-docs)
|
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
|
- mv target/doc docs
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue