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