From c8ccf3296f45be357415d0f110294df2a350e363 Mon Sep 17 00:00:00 2001 From: Robert Jelic Date: Sun, 9 Feb 2025 16:33:41 +0100 Subject: [PATCH] Test --- .github/workflows/docs.yml | 7 ------- config.ld | 4 ++++ src/main.lua | 1 - 3 files changed, 4 insertions(+), 8 deletions(-) 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