From d55a80dc0e3b598c47ea3e726b36c04b2c17ea8f Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Mon, 10 Feb 2025 07:44:47 +0100 Subject: [PATCH] Test --- .github/workflows/docs.yml | 8 ++++---- src/main.lua | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4930836..e557bc7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,16 +26,16 @@ jobs: with: ref: gh-pages path: build_docs - - name: Prepare references directory + - name: Prepare content directory run: | mkdir -p build_docs/docs - rm -rf build_docs/docs/references - mkdir -p build_docs/docs/references + rm -rf build_docs/docs/content + mkdir -p build_docs/docs/content - name: Process markdown files run: | find src -type f -name "*.lua" | while read file; do 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 - name: Deploy if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} diff --git a/src/main.lua b/src/main.lua index 878542e..a7c52b9 100644 --- a/src/main.lua +++ b/src/main.lua @@ -17,7 +17,7 @@ basalt.LOGGER = require("log") local mainFrame = nil 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 --- @param type string The type of element to create (e.g. "Button", "Label", "BaseFrame") --- @param id? string Optional unique identifier for the element