From e4ac379a628c58d8d08a969d302a33fedb3e7b0b Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Wed, 14 Sep 2022 12:12:15 +0200 Subject: [PATCH] Allow for provide-link-targets during build-push as well as build-pr --- .github/workflows/_shared-docs-build-push.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/_shared-docs-build-push.yml b/.github/workflows/_shared-docs-build-push.yml index 81ac724..e516b5d 100644 --- a/.github/workflows/_shared-docs-build-push.yml +++ b/.github/workflows/_shared-docs-build-push.yml @@ -62,6 +62,10 @@ on: description: A space separated list of additional collections to install prior to building the documentation. required: false type: string + provide-link-targets: + description: A newline separated list of link targets that should not cause reference errors. A small RST file will be created during the build which contains these labels. + required: false + type: string outputs: artifact-name: @@ -147,6 +151,7 @@ jobs: antsibull-docs-version: '${{ inputs.init-antsibull-docs-version }}' lenient: ${{ inputs.init-lenient }} fail-on-error: ${{ inputs.init-fail-on-error }} + provide-link-targets: ${{ inputs.provide-link-targets }} - name: Build id: build