From 741f9446c143fc1e67474efa7cb8e2c93d8a3266 Mon Sep 17 00:00:00 2001 From: Robert Jelic Date: Sun, 9 Feb 2025 18:40:30 +0100 Subject: [PATCH] Test --- .github/workflows/docs.yml | 5 ++++- Makefile | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 852aa9c..0796240 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -23,7 +23,10 @@ jobs: - name: Setup dependencies run: luarocks install ldoc - name: Build docs - run: make doc-site + run: | + mkdir -p out + ldoc -c config.ld src + ls -la out/ - name: Deploy if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} uses: peaceiris/actions-gh-pages@v3 diff --git a/Makefile b/Makefile index 620f0b3..53b8719 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ - LUA= $(shell echo `which lua`) LUA_BINDIR= $(shell echo `dirname $(LUA)`) LUA_PREFIX= $(shell echo `dirname $(LUA_BINDIR)`) @@ -51,7 +50,8 @@ test-tables: test-clean: clean-basic clean-example clean-md clean-tables doc-site: - cd $(_REPODIR)/doc && lua $(_REPODIR)/ldoc.lua . + mkdir -p out + ldoc -c config.ld src CLEAN=&& lua $(_REPODIR)/ldoc.lua . && rd /S /Q cdocs && cp -rf doc cdocs