From 5c331e7e77dc6d0b7249531749479caa0bf99057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 4 May 2023 08:54:43 +0300 Subject: [PATCH] ci: Update docs generation for new configuration mechanism Part-of: --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5374bd792..dc7663437 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: