Skip to content

Commit

Permalink
Fix apidoc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits committed Jan 31, 2025
1 parent 902238f commit 2263c7d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,13 @@ jobs:
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
global-json-file: dotnet/global.json
- run: dotnet tool update -g docfx
- run: |
mkdir -p ./build/dotnet/dev/
docfx docfx.json --output ./build/dotnet/dev/
working-directory: ./docs/dotnet
docfx docs/dotnet/docfx.json
mv docs/dotnet/_site build/dotnet/dev/
- name: insert clarity snippet to *.html
working-directory: ./docs/dotnet/build/dotnet/dev/
working-directory: build/dotnet/dev/
shell: python
run: |
import os
Expand Down Expand Up @@ -234,7 +232,7 @@ jobs:
print(f'Clarity script inserted into {html_path}')
- uses: actions/upload-artifact@v4
with:
path: "./docs/dotnet/build"
path: "build/"
name: "dotnet-dev-docs"

deploy:
Expand Down

0 comments on commit 2263c7d

Please sign in to comment.