mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2025-12-06 07:12:04 +01:00
Fix relative paths in doc script
This commit is contained in:
parent
85a95bee1e
commit
ac9d5f6fe0
|
|
@ -1,20 +1,20 @@
|
|||
@ECHO OFF
|
||||
|
||||
SET DocFXVersion=2.48.1
|
||||
SET DocFxFolder=..\artifacts\toolset
|
||||
SET DocFxFolder=%~dp0\..\artifacts\toolset
|
||||
|
||||
REM Download DocFx
|
||||
powershell -ExecutionPolicy ByPass -command "./DownloadDocFX.ps1" -Version %DocFXVersion% -Folder %DocFxFolder%
|
||||
powershell -ExecutionPolicy ByPass -command "%~dp0/DownloadDocFX.ps1" -Version %DocFXVersion% -Folder %DocFxFolder%
|
||||
|
||||
REM Build metadata for all platforms (uses configuration in docfx.json in this folder)
|
||||
%DocFxFolder%\v%DocFXVersion%\docfx.exe ..\docs\docfx.json metadata
|
||||
%DocFxFolder%\v%DocFXVersion%\docfx.exe %~dp0..\docs\docfx.json metadata
|
||||
|
||||
REM Merge output (not implemented)
|
||||
REM %DocFxFolder%\v%DocFXVersion%\docfx.exe merge
|
||||
|
||||
REM Generate OMD
|
||||
dotnet tool install --global dotMorten.OmdGenerator
|
||||
generateomd /source=../src/NmeaParser /output=../artifacts/docs/api/omd.html
|
||||
generateomd /source=%~dp0../src/NmeaParser /output=%~dp0../artifacts/docs/api/omd.html
|
||||
|
||||
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 ..\docs\docfx.json build
|
||||
%DocFxFolder%\v%DocFXVersion%\docfx.exe %~dp0..\docs\docfx.json build
|
||||
|
|
|
|||
Loading…
Reference in a new issue