docs: md 2 html for confluence

This commit is contained in:
ISA
2025-09-19 11:48:59 +02:00
parent 76280b365b
commit 3d0ce4a2b4
238 changed files with 8790 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
# Im Projekt-Root ausführen!
$source = "..\docs"
$target = ".\html-seiten"
# Zielordner anlegen
if (!(Test-Path $target)) { New-Item -ItemType Directory -Path $target }
# Alle .md-Dateien rekursiv durchgehen
Get-ChildItem -Path $source -Filter *.md -Recurse | ForEach-Object {
$relPath = $_.FullName.Substring($source.Length)
$outPath = Join-Path $target ($relPath -replace ".md$", ".html")
$outDir = Split-Path $outPath
if (!(Test-Path $outDir)) { New-Item -ItemType Directory -Path $outDir -Force }
pandoc $_.FullName -o $outPath
}