Skip to content

Commit 42e17fa

Browse files
authored
v4.2.2
2 parents c81d139 + 9b7032a commit 42e17fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/SphinxDocumentation.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ on:
4646
type: string
4747
coverage_report_json_directory:
4848
description: ''
49-
required: true
49+
required: false
5050
type: string
5151
coverage_json_artifact:
5252
description: 'Name of the coverage JSON artifact.'
@@ -183,8 +183,8 @@ jobs:
183183
- name: Workaround I - https://github.com/sphinx-doc/sphinx/issues/13190
184184
if: inputs.latex_artifact != ''
185185
run: |
186-
printf "Changing directory to 'doc/_build/latex' ...\n"
187-
cd doc/_build/latex
186+
printf "Changing directory to '${{ inputs.doc_directory || '.' }}/_build/latex' ...\n"
187+
cd ${{ inputs.doc_directory || '.' }}/_build/latex
188188
189189
MIMETYPE_EXTENSIONS=(
190190
"image/png:png"
@@ -232,8 +232,8 @@ jobs:
232232
- name: Workaround II - https://github.com/sphinx-doc/sphinx/issues/13189
233233
if: inputs.latex_artifact != ''
234234
run: |
235-
printf "Changing directory to 'doc/_build/latex' ...\n"
236-
cd doc/_build/latex
235+
printf "Changing directory to '${{ inputs.doc_directory || '.' }}/_build/latex' ...\n"
236+
cd ${{ inputs.doc_directory || '.' }}/_build/latex
237237
238238
printf "Searching for downloaded images, that need normalization ...\n"
239239
for imageExt in png svg jpg jpeg; do

0 commit comments

Comments
 (0)