mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
v4.2.2
This commit is contained in:
10
.github/workflows/SphinxDocumentation.yml
vendored
10
.github/workflows/SphinxDocumentation.yml
vendored
@@ -46,7 +46,7 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
coverage_report_json_directory:
|
coverage_report_json_directory:
|
||||||
description: ''
|
description: ''
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
coverage_json_artifact:
|
coverage_json_artifact:
|
||||||
description: 'Name of the coverage JSON artifact.'
|
description: 'Name of the coverage JSON artifact.'
|
||||||
@@ -183,8 +183,8 @@ jobs:
|
|||||||
- name: Workaround I - https://github.com/sphinx-doc/sphinx/issues/13190
|
- name: Workaround I - https://github.com/sphinx-doc/sphinx/issues/13190
|
||||||
if: inputs.latex_artifact != ''
|
if: inputs.latex_artifact != ''
|
||||||
run: |
|
run: |
|
||||||
printf "Changing directory to 'doc/_build/latex' ...\n"
|
printf "Changing directory to '${{ inputs.doc_directory || '.' }}/_build/latex' ...\n"
|
||||||
cd doc/_build/latex
|
cd ${{ inputs.doc_directory || '.' }}/_build/latex
|
||||||
|
|
||||||
MIMETYPE_EXTENSIONS=(
|
MIMETYPE_EXTENSIONS=(
|
||||||
"image/png:png"
|
"image/png:png"
|
||||||
@@ -232,8 +232,8 @@ jobs:
|
|||||||
- name: Workaround II - https://github.com/sphinx-doc/sphinx/issues/13189
|
- name: Workaround II - https://github.com/sphinx-doc/sphinx/issues/13189
|
||||||
if: inputs.latex_artifact != ''
|
if: inputs.latex_artifact != ''
|
||||||
run: |
|
run: |
|
||||||
printf "Changing directory to 'doc/_build/latex' ...\n"
|
printf "Changing directory to '${{ inputs.doc_directory || '.' }}/_build/latex' ...\n"
|
||||||
cd doc/_build/latex
|
cd ${{ inputs.doc_directory || '.' }}/_build/latex
|
||||||
|
|
||||||
printf "Searching for downloaded images, that need normalization ...\n"
|
printf "Searching for downloaded images, that need normalization ...\n"
|
||||||
for imageExt in png svg jpg jpeg; do
|
for imageExt in png svg jpg jpeg; do
|
||||||
|
|||||||
Reference in New Issue
Block a user