This commit is contained in:
Robert Jelic
2025-02-10 07:44:47 +01:00
parent 6d032f9e73
commit d55a80dc0e
2 changed files with 5 additions and 5 deletions

View File

@@ -26,16 +26,16 @@ jobs:
with: with:
ref: gh-pages ref: gh-pages
path: build_docs path: build_docs
- name: Prepare references directory - name: Prepare content directory
run: | run: |
mkdir -p build_docs/docs mkdir -p build_docs/docs
rm -rf build_docs/docs/references rm -rf build_docs/docs/content
mkdir -p build_docs/docs/references mkdir -p build_docs/docs/content
- name: Process markdown files - name: Process markdown files
run: | run: |
find src -type f -name "*.lua" | while read file; do find src -type f -name "*.lua" | while read file; do
filename=$(basename "$file") filename=$(basename "$file")
lua markdown.lua "$file" "build_docs/docs/references/${filename%.lua}.md" lua markdown.lua "$file" "build_docs/docs/content/${filename%.lua}.md"
done done
- name: Deploy - name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

View File

@@ -17,7 +17,7 @@ basalt.LOGGER = require("log")
local mainFrame = nil local mainFrame = nil
local updaterActive = false local updaterActive = false
--- Creates and returns a new UI element of the specified type --- Creates and returns a new UI element of the specified type.
--- @shortDescription Creates a new UI element --- @shortDescription Creates a new UI element
--- @param type string The type of element to create (e.g. "Button", "Label", "BaseFrame") --- @param type string The type of element to create (e.g. "Button", "Label", "BaseFrame")
--- @param id? string Optional unique identifier for the element --- @param id? string Optional unique identifier for the element