Skip to content

Commit 08e800a

Browse files
authored
Add op related config and Update moniker mapping file (MicrosoftDocs#336)
1 parent 9859621 commit 08e800a

File tree

14 files changed

+1626
-261
lines changed

14 files changed

+1626
-261
lines changed

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
log/
2+
obj/
3+
_site/
4+
.optemp/
5+
_themes*/
6+
7+
_tmp_
8+
9+
.openpublishing.buildcore.ps1
10+
_dependentPackages/
11+
_themes/
12+
.optemp/

.openpublishing.build.ps1

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
param(
2+
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
3+
[string]$parameters
4+
)
5+
# Main
6+
$errorActionPreference = 'Stop'
7+
8+
# Step-1: Download buildcore script to local
9+
echo "download build core script to local with source url: $buildCorePowershellUrl"
10+
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
11+
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
12+
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"
13+
14+
# Step-2: Run build core
15+
echo "run build core script with parameters: $parameters"
16+
& "$buildCorePowershellDestination" "$parameters"
17+
exit $LASTEXITCODE
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
{
2+
"build_entry_point": "docs",
3+
"need_generate_pdf": false,
4+
"need_generate_intellisense": false,
5+
"docsets_to_publish": [
6+
{
7+
"docset_name": "azure-powershell-with-plugin",
8+
"build_source_folder": ".",
9+
"build_output_subfolder": "powershell-with-plugin",
10+
"locale": "en-us",
11+
"monikers": [],
12+
"open_to_public_contributors": true,
13+
"type_mapping": {
14+
"Conceptual": "Content",
15+
"ManagedReference": "Content",
16+
"RestApi": "Content",
17+
"AzurePSModulePage": "Content"
18+
},
19+
"build_entry_point": "docs",
20+
"template_folder": "_themes",
21+
"version": 0,
22+
"customized_template_paths": [
23+
"_dependentPackages/azurecli.plugins/azurecli"
24+
],
25+
"customized_tasks": {
26+
"docset_prebuild": [
27+
"_dependentPackages/Microsoft.OpenPublishing.AzurePSPlugin/tools/Restructure.ps1",
28+
"_dependentPackages/CommonPlugins/tools/JoinTOC.ps1"
29+
]
30+
}
31+
}
32+
],
33+
"notification_subscribers": [],
34+
"branches_to_filter": [],
35+
"skip_source_output_uploading": false,
36+
"dependent_repositories": [
37+
{
38+
"path_to_root": "_themes",
39+
"url": "https://github.com/Microsoft/templates.docs.msft",
40+
"branch": "master",
41+
"branch_mapping": {}
42+
}
43+
],
44+
"dependent_packages": [
45+
{
46+
"path_to_root": "_dependentPackages/azurecli.plugins",
47+
"id": "opbuild.templates.azurecli",
48+
"version": "latest",
49+
"nuget_feed": "https://www.myget.org/F/op/api/v2"
50+
},
51+
{
52+
"id": "Microsoft.OpenPublishing.AzurePSPlugin",
53+
"path_to_root": "_dependentPackages/Microsoft.OpenPublishing.AzurePSPlugin",
54+
"version": "latest",
55+
"nuget_feed": "https://www.myget.org/F/op-dev/api/v2"
56+
},
57+
{
58+
"id": "Microsoft.OpenPublishing.CommonPlugins",
59+
"nuget_feed": "https://www.myget.org/F/op/api/v2",
60+
"path_to_root": "_dependentPackages/CommonPlugins",
61+
"target_framework": "net45",
62+
"version": "latest"
63+
}
64+
],
65+
"monikerPath": [
66+
"azureps-cmdlets-docs/ResourceManager/mapping/monikerMapping.json",
67+
"azureps-cmdlets-docs/ServiceManagement/mapping/monikerMapping.json",
68+
"azureps-cmdlets-docs/AzureStack/mapping/monikerMapping.json"
69+
],
70+
"JoinTOCPlugin": [
71+
{
72+
"TopLevelTOC": "azurermps-1.2.9/toc.yml",
73+
"ConceptualTOC": "azurermps-1.2.9/docs-conceptual/toc.yml",
74+
"ReferenceTOCUrl": "/powershell-with-plugin/module/toc.json?view=azurermps-1.2.9",
75+
"ConceptualTOCUrl": "/powershell-with-plugin/azure/toc.json?view=azurermps-1.2.9"
76+
},
77+
{
78+
"TopLevelTOC": "azurermps-1.7.0/toc.yml",
79+
"ConceptualTOC": "azurermps-1.7.0/docs-conceptual/toc.yml",
80+
"ReferenceTOCUrl": "/powershell-with-plugin/module/toc.json?view=azurermps-1.7.0",
81+
"ConceptualTOCUrl": "/powershell-with-plugin/azure/toc.json?view=azurermps-1.7.0"
82+
},
83+
{
84+
"TopLevelTOC": "azurermps-2.2.0/toc.yml",
85+
"ConceptualTOC": "azurermps-2.2.0/docs-conceptual/toc.yml",
86+
"ReferenceTOCUrl": "/powershell-with-plugin/module/toc.json?view=azurermps-2.2.0",
87+
"ConceptualTOCUrl": "/powershell-with-plugin/azure/toc.json?view=azurermps-2.2.0"
88+
},
89+
{
90+
"TopLevelTOC": "azurermps-3.7.0/toc.yml",
91+
"ConceptualTOC": "azurermps-3.7.0/docs-conceptual/toc.yml",
92+
"ReferenceTOCUrl": "/powershell-with-plugin/module/toc.json?view=azurermps-3.7.0",
93+
"ConceptualTOCUrl": "/powershell-with-plugin/azure/toc.json?view=azurermps-3.7.0"
94+
},
95+
{
96+
"TopLevelTOC": "azurermps-3.8.0/toc.yml",
97+
"ConceptualTOC": "azurermps-3.8.0/docs-conceptual/toc.yml",
98+
"ReferenceTOCUrl": "/powershell-with-plugin/module/toc.json?view=azurermps-3.8.0",
99+
"ConceptualTOCUrl": "/powershell-with-plugin/azure/toc.json?view=azurermps-3.8.0"
100+
},
101+
{
102+
"TopLevelTOC": "azurermps-4.0.0/toc.yml",
103+
"ConceptualTOC": "azurermps-4.0.0/docs-conceptual/toc.yml",
104+
"ReferenceTOCUrl": "/powershell-with-plugin/module/toc.json?view=azurermps-4.0.0",
105+
"ConceptualTOCUrl": "/powershell-with-plugin/azure/toc.json?view=azurermps-4.0.0"
106+
},
107+
{
108+
"TopLevelTOC": "azuresmps-3.7.0/toc.yml",
109+
"ConceptualTOC": "azuresmps-3.7.0/docs-conceptual/toc.yml",
110+
"ReferenceTOCUrl": "/powershell-with-plugin/module/servicemanagement/toc.json?view=azuresmps-3.7.0",
111+
"ConceptualTOCUrl": "/powershell-with-plugin/azure/servicemanagement/toc.json?view=azuresmps-3.7.0"
112+
},
113+
{
114+
"TopLevelTOC": "azuresmps-4.0.0/toc.yml",
115+
"ConceptualTOC": "azuresmps-4.0.0/docs-conceptual/toc.yml",
116+
"ReferenceTOCUrl": "/powershell-with-plugin/module/servicemanagement/toc.json?view=azuresmps-4.0.0",
117+
"ConceptualTOCUrl": "/powershell-with-plugin/azure/servicemanagement/toc.json?view=azuresmps-4.0.0"
118+
},
119+
{
120+
"TopLevelTOC": "azurestackps-1.2.9/toc.yml",
121+
"ConceptualTOC": "azurestackps-1.2.9/docs-conceptual/toc.yml",
122+
"ReferenceTOCUrl": "/powershell-with-plugin/module/azure-stack/toc.json?view=azurestackps-1.2.9",
123+
"ConceptualTOCUrl": "/powershell-with-plugin/azure/azure-stack/toc.json?view=azurestackps-1.2.9"
124+
}
125+
],
126+
"need_generate_pdf_url_template": false,
127+
"dest": "_site"
128+
}

0 commit comments

Comments
 (0)