Skip to content

Commit 7294b93

Browse files
committed
Merge branch 'master' into live
2 parents db9167c + afe5c5d commit 7294b93

44 files changed

Lines changed: 296 additions & 304 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.build.ps1

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
param(
2-
[string]$buildCorePowershellUrl = "https://opbuildstoragesandbox2.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
2+
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
33
[string]$parameters
44
)
55
# Main
66
$errorActionPreference = 'Stop'
77

8-
# Step-1 Download buildcore script to local
8+
# Step-1: Download buildcore script to local
99
echo "download build core script to local with source url: $buildCorePowershellUrl"
1010
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
1111
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
12-
Invoke-WebRequest $buildCorePowershellUrl -OutFile $buildCorePowershellDestination
12+
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"
1313

1414
# Step-2: Run build core
1515
echo "run build core script with parameters: $parameters"
16-
$arguments = "-parameters:'$parameters'"
17-
Invoke-Expression "$buildCorePowershellDestination $arguments"
18-
exit $LASTEXITCODE
16+
& "$buildCorePowershellDestination" "$parameters"
17+
exit $LASTEXITCODE
Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,34 @@
11
{
2-
"build_entry_point": "",
32
"docsets_to_publish": [
43
{
5-
"docset_name": "MSFT_commandline",
6-
"build_output_subfolder": "commandline",
4+
"docset_name": "wsl",
5+
"build_source_folder": "wsl",
6+
"build_output_subfolder": "wsl",
77
"locale": "en-us",
8+
"monikers": [],
9+
"moniker_ranges": [],
810
"open_to_public_contributors": true,
911
"type_mapping": {
10-
"Conceptual": "Content"
12+
"Conceptual": "Content",
13+
"ManagedReference": "Content",
14+
"RestApi": "Content"
1115
},
12-
"version": 0
16+
"build_entry_point": "docs",
17+
"template_folder": "_themes"
1318
}
1419
],
15-
"notification_subscribers": [
16-
17-
],
18-
"branches_to_filter": [
19-
""
20-
],
21-
"git_repository_url_open_to_public_contributors": "https://github.com/MicrosoftDocs/WSL",
22-
"git_repository_branch_open_to_public_contributors": "live",
20+
"notification_subscribers": [],
21+
"branches_to_filter": [],
2322
"skip_source_output_uploading": false,
2423
"contribution_branch_mappings": {},
24+
"dependent_repositories": [
25+
{
26+
"path_to_root": "_themes",
27+
"url": "https://github.com/Microsoft/templates.docs.msft",
28+
"branch": "master",
29+
"branch_mapping": {}
30+
}
31+
],
2532
"branch_target_mapping": {},
2633
"need_generate_pdf_url_template": false
2734
}
Lines changed: 1 addition & 2 deletions

WSL/breadcrumb/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- name: Docs
2+
tocHref: /
3+
topicHref: /

WSL/docfx.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"build": {
3+
"content": [
4+
{
5+
"files": [
6+
"**/*.md",
7+
"**/*.yml"
8+
],
9+
"exclude": [
10+
"**/obj/**",
11+
"**/includes/**",
12+
"README.md",
13+
"LICENSE",
14+
"LICENSE-CODE",
15+
"ThirdPartyNotices"
16+
]
17+
}
18+
],
19+
"resource": [
20+
{
21+
"files": [
22+
"**/*.png",
23+
"**/*.jpg"
24+
],
25+
"exclude": [
26+
"**/obj/**",
27+
"**/includes/**"
28+
]
29+
}
30+
],
31+
"overwrite": [],
32+
"externalReference": [],
33+
"globalMetadata": {
34+
"breadcrumb_path": "/windows/wsl/breadcrumb/toc.json",
35+
"extendBreadcrumb": true
36+
},
37+
"fileMetadata": {},
38+
"template": [],
39+
"dest": "wsl"
40+
}
41+
}
Lines changed: 185 additions & 185 deletions

0 commit comments

Comments
 (0)