OP provisioning

This commit is contained in:
saldana 2016-02-29 10:46:12 -08:00
parent f3c3de1afb
commit 9dd55d57f9
5 changed files with 105 additions and 0 deletions

11
.gitignore vendored Normal file
View File

@ -0,0 +1,11 @@
log/
xhtml/
packages/
obj/
_site/
Tools/NuGet/
.optemp/
.openpublishing.build.mdproj
.openpublishing.buildcore.ps1
packages.config

18
.openpublishing.build.ps1 Normal file
View File

@ -0,0 +1,18 @@
param(
[string]$buildCorePowershellUrl = "https://opbuildstoragesandbox2.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"
$arguments = "-parameters:'$parameters'"
Invoke-Expression "$buildCorePowershellDestination $arguments"
exit $LASTEXITCODE

View File

@ -0,0 +1,28 @@
{
"build_entry_point": "",
"git_repository_url_open_to_public_contributors": "",
"docsets_to_publish": [
{
"docset_name": "microsoft-edge",
"build_output_subfolder": "browsers/edge",
"locale": "en-us",
"version": 0,
"open_to_public_contributors": "false",
"type_mapping": {
"Conceptual": "Content"
}
},
{
"docset_name": "internet-explorer-11",
"build_output_subfolder": "browsers/internet-explorer-11",
"locale": "en-us",
"version": 0,
"open_to_public_contributors": "false",
"type_mapping": {
"Conceptual": "Content"
}
}
],
"notification_subscribers": ["brianlic@microsoft.com","brianlic@microsoft.com"],
"branches_to_filter": ["live"]
}

24
browsers/edge/docfx.json Normal file
View File

@ -0,0 +1,24 @@
{
"build": {
"content":
[
{
"files": ["**/**.md"],
"exclude": ["**/obj/**"]
}
],
"resource": [
{
"files": ["**/images/**", "**/*.json"],
"exclude": ["**/obj/**"]
}
],
"globalMetadata": {
"ROBOTS": "INDEX, FOLLOW"
},
"externalReference": [
],
"template": "op.html",
"dest": "browsers/edge"
}
}

View File

@ -0,0 +1,24 @@
{
"build": {
"content":
[
{
"files": ["**/**.md"],
"exclude": ["**/obj/**"]
}
],
"resource": [
{
"files": ["**/images/**", "**/*.json"],
"exclude": ["**/obj/**"]
}
],
"globalMetadata": {
"ROBOTS": "INDEX, FOLLOW"
},
"externalReference": [
],
"template": "op.html",
"dest": "edges/internet-explorer-11"
}
}