trying a different documentation
This commit is contained in:
@@ -1,24 +1,33 @@
|
|||||||
|
name: Generate Docs
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [ master ]
|
||||||
- master
|
|
||||||
jobs:
|
jobs:
|
||||||
generate-docs:
|
docs:
|
||||||
runs-on: windows-latest
|
runs-on: ubuntu-latest
|
||||||
name: Generate Docs
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup .NET
|
- uses: actions/setup-dotnet@v4
|
||||||
uses: actions/setup-dotnet@v4
|
|
||||||
with:
|
with:
|
||||||
dotnet-version: 10.0.x
|
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:
|
with:
|
||||||
build-tasks: dotnet build
|
name: docs
|
||||||
cleanup-tasks: dotnet clean
|
path: _site
|
||||||
binaries: bin/Debug/net10.0/SjkScripts.dll
|
|
||||||
output-path: docs/api
|
|
||||||
user-email: ronnie.kisner.jr@gmail.com
|
|
||||||
user-name: C# Document Generator
|
|
||||||
Reference in New Issue
Block a user