Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

Commit 0eb5af0

Browse files
committed
Initialize open publishing repository: https://github.com/xamarin/android-api-docs of branch master
1 parent 25aa18c commit 0eb5af0

5 files changed

+488
-0
lines changed

.openpublishing.build.ps1

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
param(
2+
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
3+
[string]$parameters
4+
)
5+
# Main
6+
$errorActionPreference = 'Stop'
7+
8+
# Step-1: Download buildcore script to local
9+
echo "download build core script to local with source url: $buildCorePowershellUrl"
10+
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
11+
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
12+
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"
13+
14+
# Step-2: Run build core
15+
echo "run build core script with parameters: $parameters"
16+
& "$buildCorePowershellDestination" "$parameters"
17+
exit $LASTEXITCODE

.openpublishing.publish.config.json

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"docsets_to_publish": [],
3+
"notification_subscribers": [],
4+
"sync_notification_subscribers": [],
5+
"branches_to_filter": [],
6+
"skip_source_output_uploading": false,
7+
"need_preview_pull_request": true,
8+
"contribution_branch_mappings": {},
9+
"dependent_repositories": [
10+
{
11+
"path_to_root": "_themes",
12+
"url": "https://github.com/Microsoft/templates.docs.msft",
13+
"branch": "master",
14+
"branch_mapping": {}
15+
}
16+
],
17+
"branch_target_mapping": {},
18+
"need_generate_pdf_url_template": false,
19+
"need_generate_pdf": false,
20+
"need_generate_intellisense": false,
21+
"dependent_packages": [
22+
{
23+
"id": "Microsoft.OpenPublishing.CommonPlugins",
24+
"nuget_feed": "https://www.myget.org/F/op/api/v2",
25+
"path_to_root": "_dependentPackages/CommonPlugins",
26+
"target_framework": "net45",
27+
"version": "latest"
28+
},
29+
{
30+
"id": "Microsoft.DocAsCode.ECMA2Yaml",
31+
"nuget_feed": "https://www.myget.org/F/op/api/v2",
32+
"path_to_root": "_dependentPackages/ECMA2Yaml",
33+
"target_framework": "net45",
34+
"version": "latest"
35+
},
36+
{
37+
"id": "memberpage.plugins",
38+
"nuget_feed": "https://www.myget.org/F/docfx/api/v2",
39+
"path_to_root": "_dependentPackages/memberpage.plugins",
40+
"target_framework": "net45",
41+
"version": "latest"
42+
}
43+
]
44+
}

0 commit comments

Comments
 (0)