From 6d032f9e73559d51807f68c4e254cab92fff7878 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Mon, 10 Feb 2025 07:19:43 +0100 Subject: [PATCH] Test --- .github/workflows/docs.yml | 12 ++++++++++-- src/main.lua | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9b930a6..4930836 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,8 +21,16 @@ jobs: uses: leafo/gh-actions-lua@v8 with: luaVersion: 5.4 - - name: Create docs directory - run: mkdir -p build_docs/docs/references + - name: Checkout existing docs + uses: actions/checkout@v3 + with: + ref: gh-pages + path: build_docs + - name: Prepare references directory + run: | + mkdir -p build_docs/docs + rm -rf build_docs/docs/references + mkdir -p build_docs/docs/references - name: Process markdown files run: | find src -type f -name "*.lua" | while read file; do diff --git a/src/main.lua b/src/main.lua index 2a2aa9f..878542e 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