Skip to content

Commit 317044f

Browse files
committed
Run docfx in pipeline
1 parent a418b7a commit 317044f

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

.config/dotnet-tools.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@
66
"version": "0.0.1-preview.304",
77
"commands": [
88
"dotnet-validate"
9-
]
9+
],
10+
"rollForward": false
11+
},
12+
"docfx": {
13+
"version": "2.78.5",
14+
"commands": [
15+
"docfx"
16+
],
17+
"rollForward": false
1018
}
1119
}
1220
}

.github/workflows/continuous-integration.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
dotnet-version: |
3030
6.x
3131
8.x
32+
10.x
3233
3334
- name: Restore NuGet packages
3435
run: dotnet restore
@@ -51,3 +52,10 @@ jobs:
5152
dotnet tool restore
5253
dotnet pack --no-build --verbosity normal
5354
if: startsWith(matrix.os,'windows')
55+
56+
- name: Generate API documentation
57+
run: |
58+
dotnet tool restore
59+
dotnet docfx docfx/docfx.json --warningsAsErrors
60+
working-directory: QrCodeGenerator
61+
if: startsWith(matrix.os,'ubuntu')

0 commit comments

Comments
 (0)