From 7f4da23068812686e85e2a20a792be1483d2a3c5 Mon Sep 17 00:00:00 2001 From: "Abdel @ StarkWare" Date: Fri, 20 Oct 2023 12:00:59 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20generate=20documentation=20workf?= =?UTF-8?q?low?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test copy.yml | 21 +++++++++++++++++++++ .gitignore | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/test copy.yml diff --git a/.github/workflows/test copy.yml b/.github/workflows/test copy.yml new file mode 100644 index 00000000..182dcb0e --- /dev/null +++ b/.github/workflows/test copy.yml @@ -0,0 +1,21 @@ +name: Docs + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Zig + uses: korandoru/setup-zig@v1 + with: + zig-version: master + + - name: Generate docs + run: zig test -femit-docs=./docs src/lib.zig diff --git a/.gitignore b/.gitignore index 162858c5..65c94208 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # OS-specific files **.DS_Store +target/ + # Zig-specific build artifacts zig-cache/ zig-out/