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

Commit

Permalink
Initialize open publishing repository: https://github.com/xamarin/Xam…
Browse files Browse the repository at this point in the history
…arin.Forms-api-docs of branch master
  • Loading branch information
dend authored and Mike Norman committed Apr 12, 2018
1 parent 5068418 commit 7cf96d6
Show file tree
Hide file tree
Showing 5 changed files with 487 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .openpublishing.build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
param(
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'

# Step-1: Download buildcore script to local
echo "download build core script to local with source url: $buildCorePowershellUrl"
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"

# Step-2: Run build core
echo "run build core script with parameters: $parameters"
& "$buildCorePowershellDestination" "$parameters"
exit $LASTEXITCODE
43 changes: 43 additions & 0 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"docsets_to_publish": [],
"notification_subscribers": [],
"branches_to_filter": [],
"skip_source_output_uploading": false,
"need_preview_pull_request": false,
"contribution_branch_mappings": {},
"dependent_repositories": [
{
"path_to_root": "_themes",
"url": "https://github.com/Microsoft/templates.docs.msft",
"branch": "master",
"branch_mapping": {}
}
],
"branch_target_mapping": {},
"need_generate_pdf_url_template": false,
"need_generate_pdf": false,
"need_generate_intellisense": false,
"dependent_packages": [
{
"id": "Microsoft.OpenPublishing.CommonPlugins",
"nuget_feed": "https://www.myget.org/F/op/api/v2",
"path_to_root": "_dependentPackages/CommonPlugins",
"target_framework": "net45",
"version": "latest"
},
{
"id": "Microsoft.DocAsCode.ECMA2Yaml",
"nuget_feed": "https://www.myget.org/F/op/api/v2",
"path_to_root": "_dependentPackages/ECMA2Yaml",
"target_framework": "net45",
"version": "latest"
},
{
"id": "memberpage.plugins",
"nuget_feed": "https://www.myget.org/F/docfx/api/v2",
"path_to_root": "_dependentPackages/memberpage.plugins",
"target_framework": "net45",
"version": "latest"
}
]
}
Loading

0 comments on commit 7cf96d6

Please sign in to comment.