diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..643bf6e6c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +log/ +xhtml/ +packages/ +obj/ +_site/ +Tools/NuGet/ +.optemp/ + +.openpublishing.build.mdproj +.openpublishing.buildcore.ps1 +packages.config \ No newline at end of file diff --git a/.openpublishing.build.ps1 b/.openpublishing.build.ps1 new file mode 100644 index 0000000000..dd60c684ef --- /dev/null +++ b/.openpublishing.build.ps1 @@ -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 \ No newline at end of file diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json new file mode 100644 index 0000000000..39c6f31762 --- /dev/null +++ b/.openpublishing.publish.config.json @@ -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"] +} diff --git a/browsers/edge/docfx.json b/browsers/edge/docfx.json new file mode 100644 index 0000000000..bc72c31b48 --- /dev/null +++ b/browsers/edge/docfx.json @@ -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" + } +} \ No newline at end of file diff --git a/browsers/internet-explorer-11/docfx.json b/browsers/internet-explorer-11/docfx.json new file mode 100644 index 0000000000..2582e204e7 --- /dev/null +++ b/browsers/internet-explorer-11/docfx.json @@ -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" + } +} \ No newline at end of file