mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-04-21 06:13:58 +00:00
Experimenting with monikers
This commit is contained in:
parent
bbc7cb3589
commit
d798c914c4
3 changed files with 57 additions and 4 deletions
|
|
@ -24,6 +24,6 @@ mkdir %~dp0../artifacts/docs/api
|
|||
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
|
||||
powershell -ExecutionPolicy ByPass -command "%~dp0FixApiRefLinks.ps1" -Path %~dp0..\artifacts\docs_site\api\
|
||||
REM powershell -ExecutionPolicy ByPass -command "%~dp0FixApiRefLinks.ps1" -Path %~dp0..\artifacts\docs_site\api\
|
||||
start http://localhost:8080
|
||||
%DocFxFolder%\v%DocFXVersion%\docfx.exe serve %~dp0..\artifacts\docs_site\
|
||||
|
|
@ -70,15 +70,56 @@
|
|||
],
|
||||
"build": {
|
||||
"content": [
|
||||
{
|
||||
{
|
||||
"files": [
|
||||
"api/**/index.md"
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "netstandard1.4",
|
||||
"files": [
|
||||
"api/**.yml",
|
||||
"api/**/toc.yml"
|
||||
"api/netstd/**.yml",
|
||||
"api/netstd/toc.yml",
|
||||
],
|
||||
"src" : "../artifacts/docs"
|
||||
},
|
||||
{
|
||||
"version": "net451",
|
||||
"files": [
|
||||
"api/netfx/**.yml",
|
||||
"api/netfx/toc.yml",
|
||||
],
|
||||
"src" : "../artifacts/docs"
|
||||
},
|
||||
{
|
||||
"version": "netcoreapp2.1",
|
||||
"files": [
|
||||
"api/netcore/**.yml",
|
||||
"api/netcore/toc.yml",
|
||||
],
|
||||
"src" : "../artifacts/docs"
|
||||
},
|
||||
{
|
||||
"version": "monoandroid70",
|
||||
"files": [
|
||||
"api/android/**.yml",
|
||||
"api/android/toc.yml",
|
||||
],
|
||||
"src" : "../artifacts/docs"
|
||||
},
|
||||
{
|
||||
"version": "xamarinios10",
|
||||
"files": [
|
||||
"api/ios/**.yml",
|
||||
"api/ios/toc.yml",
|
||||
],
|
||||
"src" : "../artifacts/docs"
|
||||
},
|
||||
{
|
||||
"version": "uap10.0.16299",
|
||||
"files": [
|
||||
"api/uwp/**.yml",
|
||||
"api/uwp/toc.yml",
|
||||
],
|
||||
"src" : "../artifacts/docs"
|
||||
},
|
||||
|
|
@ -124,6 +165,8 @@
|
|||
}
|
||||
},
|
||||
"dest": "../artifacts/docs_site",
|
||||
"monikerDefinition": "monikerDefinition.json",
|
||||
"_skipMonikerValidation": true,
|
||||
"globalMetadataFiles": [],
|
||||
"fileMetadataFiles": [],
|
||||
"template": [
|
||||
|
|
|
|||
10
docs/monikerDefinition.json
Normal file
10
docs/monikerDefinition.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"monikers": [
|
||||
{ "moniker_name": "netstandard1.4", "product_name": ".NET Standard 1.4" },
|
||||
{ "moniker_name": "net451", "product_name": ".NET Framework" },
|
||||
{ "moniker_name": "netcoreapp2.1", "product_name": ".NET Core" },
|
||||
{ "moniker_name": "monoandroid70", "product_name": "Xamarin.Android" },
|
||||
{ "moniker_name": "xamarinios10", "product_name": "Xamarin.iOS" },
|
||||
{ "moniker_name": "uap10.0.16299", "product_name": "uwp" },
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue