From b30c07c020595ba2ca743061b65db76c92bf8d8b Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 25 Jun 2024 16:12:09 +0200 Subject: [PATCH] update CI as well --- .github/workflows/ci.yml | 2 +- automation/Jenkinsfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bf8d2b..a2d1b1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly - - run: cargo +nightly doc --all-features --config 'build.rustdocflags=["--cfg", "docs_rs"]' + - run: RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --all-features clippy: name: Clippy diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index 4da4a47..b2e6c5d 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -25,7 +25,7 @@ pipeline { stage('Docs') { steps { sh """ - cargo +nightly doc --all-features --config 'build.rustdocflags=["--cfg", "docs_rs"]' + RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --all-features """ } }