Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
run: |
nuget install memberpage -Version 2.48.1 -OutputDirectory docs
.tools/docfx/docfx.exe docs/docfx.json
powershell -ExecutionPolicy ByPass -command "docs\FixApiRefLinks" -Path artifacts\docs_site\api\

- name: Publish Documentation
env:
Expand Down
2 changes: 0 additions & 2 deletions docs/BuildDoc.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,5 @@ mkdir %~dp0../artifacts/docs/api
%~dp0..\.tools\nuget install memberpage -Version 2.48.1 -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
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\
14 changes: 0 additions & 14 deletions docs/FixApiRefLinks.ps1

This file was deleted.

2 changes: 1 addition & 1 deletion docs/concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You can get the library via [NuGet](http://www.nuget.org) if you have the extens
```
See the Platform specific device creation section in the menu for more specifics on device creation.

### 3. [Browse the API Reference](../api/index.html)
### 3. [Browse the API Reference](../api/index.md)

### 4. Explore the Object Model Diagrams
[.NET Standard OMD](../api/omd.html)
Expand Down
73 changes: 68 additions & 5 deletions docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,81 @@
],
"build": {
"content": [
{
{
"version": "netstandard1.4",
"files": [ "api/netstd/**.md" ]
},
{
"version": "netstandard1.4",
"files": [
"api/**/index.md"
]
"api/netstd/**.yml",
"api/netstd/toc.yml",
],
"src" : "../artifacts/docs"
},
{
"version": "net451",
"files": [ "api/netfx/**.md" ]
},
{
"version": "net451",
"files": [
"api/netfx/**.yml",
"api/netfx/toc.yml",
],
"src" : "../artifacts/docs"
},
{
"version": "netcoreapp2.1",
"files": [ "api/netcore/**.md" ]
},
{
"version": "netcoreapp2.1",
"files": [
"api/netcore/**.yml",
"api/netcore/toc.yml",
],
"src" : "../artifacts/docs"
},
{
"version": "monoandroid70",
"files": [ "api/android/**.md" ]
},
{
"version": "monoandroid70",
"files": [
"api/android/**.yml",
"api/android/toc.yml",
],
"src" : "../artifacts/docs"
},
{
"version": "xamarinios10",
"files": [ "api/ios/**.md" ]
},
{
"version": "xamarinios10",
"files": [
"api/ios/**.yml",
"api/ios/toc.yml",
],
"src" : "../artifacts/docs"
},
{
"version": "uap10.0.16299",
"files": [ "api/uwp/**.md" ]
},
{
"version": "uap10.0.16299",
"files": [
"api/**.yml",
"api/**/toc.yml"
"api/uwp/**.yml",
"api/uwp/toc.yml",
],
"src" : "../artifacts/docs"
},
{
"files": [
"api/index.md",
"concepts/**.md",
"concepts/**/toc.yml",
"toc.yml",
Expand Down Expand Up @@ -124,6 +185,8 @@
}
},
"dest": "../artifacts/docs_site",
"monikerDefinition": "monikerDefinition.json",
"_skipMonikerValidation": true,
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"template": [
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See here for details: https://github.com/sponsors/dotMorten

## Getting started:

Read the [Getting Started](concepts/index.html) notes
Read the [Getting Started](concepts/index.md) notes


![sampleapp2](https://cloud.githubusercontent.com/assets/1378165/5062460/10cc3064-6d77-11e4-8365-1e9c7c346afc.png)
Expand Down
10 changes: 10 additions & 0 deletions docs/monikerDefinition.json
Original file line number Diff line number Diff line change
@@ -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" },
]
}