File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ jobs:
156
156
name : Publish to internal NuGet
157
157
runs-on : windows-2019
158
158
needs : build-artifacts
159
- if : ${{ github.event.inputs.push-to-dev }}
159
+ if : ${{ github.event.inputs.push-to-dev == 'true' }}
160
160
permissions :
161
161
contents : read
162
162
packages : write
Original file line number Diff line number Diff line change @@ -155,4 +155,16 @@ limitations under the License. -->
155
155
156
156
</ItemGroup >
157
157
158
+ <!-- DocFX build target runs after Release-build -->
159
+ <Target Name =" CheckDocFX" >
160
+ <Exec Command =" docfx --version" EchoOff =" true" ContinueOnError =" true" StandardErrorImportance =" High" StandardOutputImportance =" High" >
161
+ <Output TaskParameter =" ExitCode" PropertyName =" DocFXExists" />
162
+ </Exec >
163
+ <Error Condition =" '$(DocFXExists)' != '0'" Text =" DocFX is not installed. Please install it using: dotnet tool install --global docfx" />
164
+ </Target >
165
+
166
+ <Target Name =" DocFXBuild" AfterTargets =" Build" DependsOnTargets =" CheckDocFX" Condition =" '$(Configuration)' == 'Release'" >
167
+ <Exec Command =" docfx build $(MSBuildProjectDirectory)/docfx.json --log docfxlogz.txt" IgnoreExitCode =" true" />
168
+ </Target >
169
+
158
170
</Project >
Original file line number Diff line number Diff line change 7
7
"dest" : " ../docs/yubikey-api/" ,
8
8
"disableGitFeatures" : true ,
9
9
"disableDefaultFilter" : false ,
10
+ "memberLayout" : " separatePages" ,
10
11
"filter" : " ../docs/filterConfig.yml"
11
12
},
12
13
{
16
17
"dest" : " ../docs/core-api/" ,
17
18
"disableGitFeatures" : true ,
18
19
"disableDefaultFilter" : false ,
20
+ "memberLayout" : " separatePages" ,
19
21
"filter" : " ../docs/filterConfig.yml"
20
22
}
21
23
],
You can’t perform that action at this time.
0 commit comments