Upgrade DocFX

This commit is contained in:
Morten Nielsen 2021-03-15 10:49:01 -07:00
parent b87e4c18f5
commit 9a6940b84d
3 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View file

@ -113,5 +113,5 @@ project.lock.json
src/.vs/
artifacts
.tools
docs/memberpage.2.48.1
docs/memberpage.2.56.7
docs/AppliesToGenerator/.vs

View file

@ -1,6 +1,6 @@
@ECHO OFF
SET DocFXVersion=2.55
SET DocFXVersion=2.56.7
SET DocFxFolder=%~dp0..\.tools\docfx
REM Download DocFx
@ -20,7 +20,7 @@ dotnet tool install --tool-path %~dp0../.tools/omd dotMorten.OmdGenerator --vers
mkdir %~dp0../artifacts/docs/api
%~dp0..\.tools\omd\generateomd /source=%~dp0../src/NmeaParser /output=%~dp0../artifacts/docs/api/omd.html /preprocessors=NETSTANDARD1_4;NETSTANDARD
%~dp0..\.tools\nuget install memberpage -Version 2.48.1 -OutputDirectory %~dp0
%~dp0..\.tools\nuget install memberpage -Version 2.56.7 -OutputDirectory %~dp0
REM Build the output site (HTML) from the generated metadata and input files (uses configuration in docfx.json in this folder)
%DocFxFolder%\v%DocFXVersion%\docfx.exe %~dp0\docfx.json
ECHO Fixing API Reference Links

View file

@ -127,7 +127,9 @@
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": [
"default","template_overrides","memberpage.2.48.1/content"
"default",
"memberpage.2.56.7/content",
"template_overrides"
],
"postProcessors": [],
"markdownEngineName": "markdig",