diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 04ce3e7..2e653d5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/src/main.lua b/src/main.lua index 6574f2c..e720a9f 100644 --- a/src/main.lua +++ b/src/main.lua @@ -112,5 +112,6 @@ function basalt.run(isActive) end end end +basalt.autoUpdate = basalt.run return basalt \ No newline at end of file