small fixes

This commit is contained in:
2026-05-29 11:31:20 +02:00
parent 4b45b035e7
commit d0bee559dd
3 changed files with 19 additions and 40 deletions

View File

@@ -42,23 +42,23 @@ if ($? -eq $false){
}
Write-Output "Built package successfully"
# manual
# Write-Output "Generate manual..."
# .\scripts\cvt_manual.ps1
# if ($? -eq $false){
# Write-Output "[PWSH] Exiting script because there errors while generating the README file"
# Exit
# }
# Write-Output "Generated manual file successfully"
# Write-Output "Copying manual file..."
# $readme_src_path = Join-Path -Path $SRC_PATH -ChildPath 'docs\manual.pdf'
# $readme_dest_path = Join-Path -Path $ENV_PATH -ChildPath 'manual'
# Copy-Item -Path $readme_src_path -Destination $readme_dest_path -Force
# if ($? -eq $false){
# Write-Output "[PWSH] Exiting script because there were errors while copying the manual file"
# Exit
# }
# Write-Output "Copied manual file successfully"
# documentation
Write-Output "Generate docs..."
# $doc_build_script = Join-Path -Path $SRC_PATH -ChildPath "scripts\cvt_docs.ps1" -Resolve
.\scripts\cvt_docs.ps1
if ($? -eq $false){
Write-Output "[PWSH] Exiting script because there errors while generating the doc files"
Exit
}
Write-Output "Generated doc files successfully"
Write-Output "Copying doc files..."
$docs_src_path = Join-Path -Path $SRC_PATH -ChildPath 'docs\*.pdf'
Copy-Item -Path $docs_src_path -Destination $ENV_PATH -Force
if ($? -eq $false){
Write-Output "[PWSH] Exiting script because there were errors while copying the doc files"
Exit
}
Write-Output "Copied doc files successfully"
Write-Output "Go into env directory..."
@@ -109,26 +109,6 @@ if ($? -eq $false){
}
Write-Output "Copied startup scripts successfully"
# documentation
Write-Output "Generate manual..."
Set-Location $SRC_PATH
# $doc_build_script = Join-Path -Path $SRC_PATH -ChildPath "scripts\cvt_docs.ps1" -Resolve
.\scripts\cvt_docs.ps1
if ($? -eq $false){
Write-Output "[PWSH] Exiting script because there errors while generating the doc files"
Exit
}
Write-Output "Generated doc files successfully"
Write-Output "Copying manual file..."
$docs_src_path = Join-Path -Path $SRC_PATH -ChildPath 'docs\*.pdf'
# $docs_dest_path = Join-Path -Path $ENV_PATH -ChildPath 'manual'
Copy-Item -Path $docs_src_path -Destination $ENV_PATH -Force
if ($? -eq $false){
Write-Output "[PWSH] Exiting script because there were errors while copying the doc files"
Exit
}
Write-Output "Copied doc files successfully"
Set-Location $ENV_PATH
# env preparation
Write-Output "Preparing environment with cleanup and pre-compilation..."

View File

@@ -1,3 +1,3 @@
# convert README Markdown file to PDF as a manual
pandoc .\README.md -o .\docs\Kurzanleitung.pdf -V geometry:"a4paper, margin=2.5cm" -V header-includes="\usepackage[none]{hyphenat}"
pandoc .\docs\Versionshistorie.md -o .\docs\Versionshistorie.pdf -V geometry:"a4paper, margin=2.5cm" -V header-includes="\usepackage[none]{hyphenat}"
pandoc .\README.md -o .\docs\01_Kurzanleitung.pdf -V geometry:"a4paper, margin=2.5cm" -V header-includes="\usepackage[none]{hyphenat}"
pandoc .\docs\Versionshistorie.md -o .\docs\02_Versionshistorie.pdf -V geometry:"a4paper, margin=2.5cm" -V header-includes="\usepackage[none]{hyphenat}"

View File

@@ -3330,7 +3330,6 @@ CONFIG_GRUNDERFASSUNG_UNTERNEHMEN: Final[AutoFormConfig] = AutoFormConfig(
)
# TODO clean code
class PageFormCompany(QWidget):
back_main_requested = Signal() # back to main page
back_requested = Signal() # back button