Permalink
Browse files

OP provisioning

  • Loading branch information...
saldana
saldana committed Feb 29, 2016
1 parent f3c3de1 commit 9dd55d57f9a0a86a0755627991134114f5ad5605
Showing with 105 additions and 0 deletions.
  1. +11 −0 .gitignore
  2. +18 −0 .openpublishing.build.ps1
  3. +28 −0 .openpublishing.publish.config.json
  4. +24 −0 browsers/edge/docfx.json
  5. +24 −0 browsers/internet-explorer-11/docfx.json
View
@@ -0,0 +1,11 @@
log/
xhtml/
packages/
obj/
_site/
Tools/NuGet/
.optemp/
.openpublishing.build.mdproj
.openpublishing.buildcore.ps1
packages.config
View
@@ -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
@@ -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"]
}
View
@@ -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"
}
}
@@ -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"
}
}

0 comments on commit 9dd55d5

Please sign in to comment.