Test
This commit is contained in:
10
.github/workflows/docs.yml
vendored
10
.github/workflows/docs.yml
vendored
@@ -42,11 +42,17 @@ 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"; 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
|
fi
|
||||||
|
|
||||||
|
echo "LDoc Konfiguration:"
|
||||||
|
cat config.ld
|
||||||
|
|
||||||
|
echo "Verfügbare Lua-Dateien:"
|
||||||
|
find src -name "*.lua" -type f
|
||||||
|
|
||||||
# Generiere Dokumentation
|
# Generiere Dokumentation
|
||||||
ldoc .
|
ldoc . --verbose
|
||||||
|
|
||||||
# Prüfe ob Docs generiert wurden
|
# Prüfe ob Docs generiert wurden
|
||||||
if [ ! -d "docs" ]; then
|
if [ ! -d "docs" ]; then
|
||||||
|
|||||||
@@ -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