diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a349f2d..fc8951d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,13 +38,6 @@ jobs: - name: Generate Documentation run: | - if [ ! -f "config.ld" ]; then - echo 'project="Basalt2"; title="Basalt2 Documentation"; description="A powerful UI Framework for ComputerCraft"; dir="docs"; style="!pale"; format="markdown"; file="src"; all=true; template=true' > config.ld - fi - - echo "LDoc Configuration:" - cat config.ld - echo "Available Lua-Files:" find src -name "*.lua" -type f diff --git a/config.ld b/config.ld index 820fff7..ded5d8c 100644 --- a/config.ld +++ b/config.ld @@ -10,3 +10,7 @@ not_luadoc = true all = true no_space_before_args = true wrap = true +one = true -- Generiere eine Datei pro Modul +recurse = true -- Rekursiv durch Unterverzeichnisse gehen +shallow = true -- Behalte Verzeichnisstruktur bei +kind_names = {module = 'Modules', topic = 'Topics'} diff --git a/src/main.lua b/src/main.lua index 8ca033c..a237b1a 100644 --- a/src/main.lua +++ b/src/main.lua @@ -186,6 +186,5 @@ function basalt.run(isActive) end end end -basalt.autoUpdate = basalt.run return basalt \ No newline at end of file