Skip to content

Commit ce213cc

Browse files
committed
.
1 parent e794402 commit ce213cc

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ jobs:
4747
4848
# Only clean references directory
4949
rm -rf gh-pages/docs/references
50-
mkdir -p gh-pages/docs/references
50+
mkdir -p gh-pages/docs/references
5151
5252
- name: Generate Documentation
5353
run: |
54+
mkdir -p build_docs/docs/references
5455
lua tools/generate-docs.lua
5556
5657
cp -r build_docs/docs/references/* gh-pages/docs/references/

src/elements/Tree.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local VisualElement = require("elements/VisualElement")
22
local sub = string.sub
33
---@cofnigDescription The tree element provides a hierarchical view of nodes that can be expanded and collapsed, with support for selection and scrolling.
44

5+
56
--- This is the tree class. It provides a hierarchical view of nodes that can be expanded and collapsed,
67
--- with support for selection and scrolling.
78
---@class Tree : VisualElement

tools/generate-docs.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ else
4848
if not success then
4949
return {}
5050
end
51-
51+
5252
local items = {}
5353
for item in result:gmatch("[^\r\n]+") do
5454
if item ~= "" then
@@ -85,7 +85,10 @@ else
8585
end
8686

8787
if not fileSystem.exists(OUT_DIR) then
88+
print("Output directory does not exist, creating it...")
8889
fileSystem.makeDir(OUT_DIR)
90+
else
91+
print("Output directory already exists")
8992
end
9093

9194
local function getLuaFiles(dir)
@@ -106,6 +109,7 @@ local function getLuaFiles(dir)
106109
end
107110

108111
local luaFiles = getLuaFiles(SRC_DIR)
112+
print("Found " .. #luaFiles .. " Lua files to process")
109113

110114
for _, filePath in ipairs(luaFiles) do
111115
local file = fileSystem.open(filePath, "r")

0 commit comments

Comments
 (0)