Test
This commit is contained in:
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
# Erstelle config.ld wenn nicht vorhanden
|
# Erstelle config.ld wenn nicht vorhanden
|
||||||
if [ ! -f "config.ld" ]; then
|
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
|
fi
|
||||||
|
|
||||||
echo "LDoc Konfiguration:"
|
echo "LDoc Konfiguration:"
|
||||||
|
|||||||
27
config.ld
27
config.ld
@@ -1,9 +1,18 @@
|
|||||||
project="Basalt2";
|
project = 'Basalt2'
|
||||||
title="Basalt2 Documentation";
|
title = 'Basalt2 Documentation'
|
||||||
description="A powerful UI Framework for ComputerCraft";
|
description = 'A powerful UI Framework for ComputerCraft'
|
||||||
dir="docs";
|
format = 'markdown'
|
||||||
style="!pale";
|
dir = 'docs'
|
||||||
format="markdown";
|
file = {'src'}
|
||||||
file="src";
|
style = '!pale'
|
||||||
all=true;
|
sort = true
|
||||||
template=true
|
not_luadoc = true
|
||||||
|
all = true
|
||||||
|
no_space_before_args = true
|
||||||
|
wrap = true
|
||||||
|
custom_tags = {
|
||||||
|
{'event', 'Events'},
|
||||||
|
{'param', 'Parameters'},
|
||||||
|
{'return', 'Returns'},
|
||||||
|
{'usage', 'Usage'}
|
||||||
|
}
|
||||||
@@ -112,5 +112,6 @@ function basalt.run(isActive)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
basalt.autoUpdate = basalt.run
|
||||||
|
|
||||||
return basalt
|
return basalt
|
||||||
Reference in New Issue
Block a user