Improved SphinxDocumentation and LaTeXDocumentation.

This commit is contained in:
Patrick Lehmann
2025-08-31 01:46:15 +02:00
parent 0adc72d26a
commit bb03bdcc11
9 changed files with 156 additions and 46 deletions

View File

@@ -29,14 +29,18 @@ on:
required: false
default: '24.04'
type: string
latex_artifact:
description: 'Name of the LaTeX documentation artifact.'
required: true
type: string
document:
description: 'LaTeX root document without *.tex extension.'
required: true
type: string
latex_artifact:
description: 'Name of the LaTeX documentation artifact.'
processor:
description: 'Name of the used LaTeX processor.'
required: false
default: ''
default: 'xelatex'
type: string
pdf_artifact:
description: 'Name of the PDF documentation artifact.'
@@ -55,21 +59,22 @@ jobs:
name: ${{ inputs.latex_artifact }}
path: latex
- name: Debug
run: |
tree -pash .
# - name: Debug
# run: |
# tree -pash .
- name: Build LaTeX document using 'pytooling/miktex:sphinx'
uses: addnab/docker-run-action@v3
if: inputs.pdf_artifact != ''
with:
image: pytooling/miktex:sphinx
options: -v ${{ github.workspace }}/latex:/latex --workdir /latex
run: |
which pdflatex
pwd
ls -lAh
# which ${{ inputs.processor }}
# pwd
# ls -lAh
latexmk -xelatex ${{ inputs.document }}.tex
latexmk -${{ inputs.processor }} "${{ inputs.document }}.tex"
- name: 📤 Upload 'PDF Documentation' artifact
uses: pyTooling/upload-artifact@v4

View File

@@ -59,7 +59,7 @@ on:
default: ''
type: string
unittest_xml_directory:
description: 'Directory where unittest XML artifact is extracted.'
description: 'Directory where unittest XML artifact will be extracted.'
required: false
default: 'report/unit'
type: string