Skip to content

Commit b7ec14a

Browse files
authored
Allow for provide-link-targets during build-push as well as build-pr (#52)
1 parent 1ed81cb commit b7ec14a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/_shared-docs-build-push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ on:
6262
description: A space separated list of additional collections to install prior to building the documentation.
6363
required: false
6464
type: string
65+
provide-link-targets:
66+
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.
67+
required: false
68+
type: string
6569

6670
outputs:
6771
artifact-name:
@@ -147,6 +151,7 @@ jobs:
147151
antsibull-docs-version: '${{ inputs.init-antsibull-docs-version }}'
148152
lenient: ${{ inputs.init-lenient }}
149153
fail-on-error: ${{ inputs.init-fail-on-error }}
154+
provide-link-targets: ${{ inputs.provide-link-targets }}
150155

151156
- name: Build
152157
id: build

0 commit comments

Comments
 (0)