This commit is contained in:
Robert Jelic
2025-02-09 15:57:43 +01:00
parent 0c78b9a238
commit b94b5a002c
2 changed files with 9 additions and 2 deletions

View File

@@ -42,11 +42,17 @@ jobs:
run: |
# Erstelle config.ld wenn nicht vorhanden
if [ ! -f "config.ld" ]; then
echo 'project="Basalt2"; title="Basalt2 Documentation"; description="A powerful UI Framework for ComputerCraft"; dir="docs"; style="!pale"; format="markdown"; topics={"README.md"}' > config.ld
echo 'project="Basalt2"; title="Basalt2 Documentation"; description="A powerful UI Framework for ComputerCraft"; dir="docs"; style="!pale"; format="markdown"; file="src"; examples={"examples"}; all=true; template=true' > config.ld
fi
echo "LDoc Konfiguration:"
cat config.ld
echo "Verfügbare Lua-Dateien:"
find src -name "*.lua" -type f
# Generiere Dokumentation
ldoc .
ldoc . --verbose
# Prüfe ob Docs generiert wurden
if [ ! -d "docs" ]; then

View File

@@ -112,5 +112,6 @@ function basalt.run(isActive)
end
end
end
basalt.autoUpdate = basalt.run
return basalt