trying a different documentation
This commit is contained in:
@@ -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
|
||||
name: docs
|
||||
path: _site
|
||||
Reference in New Issue
Block a user