From 4543048f361fa01f2b97b11aed4ecefa7218dbdd Mon Sep 17 00:00:00 2001 From: ronnie Date: Wed, 8 Apr 2026 23:35:10 -0400 Subject: [PATCH] trying a different documentation --- .gitea/workflows/documentme.yml | 43 ++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/documentme.yml b/.gitea/workflows/documentme.yml index f4ca00b..8b4c2cd 100644 --- a/.gitea/workflows/documentme.yml +++ b/.gitea/workflows/documentme.yml @@ -1,24 +1,33 @@ +name: Generate Docs + on: push: - branches: - - master + branches: [ master ] + jobs: - generate-docs: - runs-on: windows-latest - name: Generate Docs + docs: + runs-on: ubuntu-latest + steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 + - uses: actions/checkout@v4 + + - uses: actions/setup-dotnet@v4 with: dotnet-version: 10.0.x - - name: Generate Documentation - uses: FuLagann/csharp-docs-generator@v1.0 + + - name: Install DocFX + run: dotnet tool install -g docfx + + - name: Build Project + run: dotnet build -c Release + + - name: Generate Docs + run: | + docfx init -q + docfx docfx.json + + - name: Upload Docs + uses: actions/upload-artifact@v4 with: - build-tasks: dotnet build - cleanup-tasks: dotnet clean - binaries: bin/Debug/net10.0/SjkScripts.dll - output-path: docs/api - user-email: ronnie.kisner.jr@gmail.com - user-name: C# Document Generator \ No newline at end of file + name: docs + path: _site \ No newline at end of file