From 1ce873f051fcdb5cfb6c9fcacdc760f1ff58e258 Mon Sep 17 00:00:00 2001 From: Robert Jelic Date: Sun, 9 Feb 2025 16:08:46 +0100 Subject: [PATCH] Test --- .github/workflows/docs.yml | 2 +- config.ld | 27 ++++++++++++++++++--------- src/main.lua | 1 + 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 184129d..d87bb0f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -42,7 +42,7 @@ 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"; file="src"; all=true; template=true' > config.ld + echo 'project="Basalt2"; title="Basalt2 Documentation"; description="A powerful UI Framework for ComputerCraft"; dir="docs"; style="!pale"; format="markdown"; file="src"; all=true; > config.ld fi echo "LDoc Konfiguration:" diff --git a/config.ld b/config.ld index 3d62ff7..def3d45 100644 --- a/config.ld +++ b/config.ld @@ -1,9 +1,18 @@ -project="Basalt2"; -title="Basalt2 Documentation"; -description="A powerful UI Framework for ComputerCraft"; -dir="docs"; -style="!pale"; -format="markdown"; -file="src"; -all=true; -template=true \ No newline at end of file +project = 'Basalt2' +title = 'Basalt2 Documentation' +description = 'A powerful UI Framework for ComputerCraft' +format = 'markdown' +dir = 'docs' +file = {'src'} +style = '!pale' +sort = true +not_luadoc = true +all = true +no_space_before_args = true +wrap = true +custom_tags = { + {'event', 'Events'}, + {'param', 'Parameters'}, + {'return', 'Returns'}, + {'usage', 'Usage'} +} \ No newline at end of file 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