mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-11 21:07:23 +00:00
OP provisioning
This commit is contained in:
parent
f3c3de1afb
commit
9dd55d57f9
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal 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
18
.openpublishing.build.ps1
Normal 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
|
28
.openpublishing.publish.config.json
Normal file
28
.openpublishing.publish.config.json
Normal 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
24
browsers/edge/docfx.json
Normal 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"
|
||||
}
|
||||
}
|
24
browsers/internet-explorer-11/docfx.json
Normal file
24
browsers/internet-explorer-11/docfx.json
Normal 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"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user