Skip to content

Commit d910bc9

Browse files
committed
merged changes from docs migration
1 parent 11c493a commit d910bc9

File tree

2,235 files changed

+8558
-14509
lines changed

Some content is hidden

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

2,235 files changed

+8558
-14509
lines changed

.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

.openpublishing.publish.config.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"docsets_to_publish": [
3+
{
4+
"customized_tasks": {
5+
"docset_prebuild": [
6+
"_dependentPackages/CommonPlugins/tools/JoinTOC.ps1" ]
7+
},
8+
"docset_name": "sharepoint-developer",
9+
"build_source_folder": "docs",
10+
"build_output_subfolder": "sharepoint-developer",
11+
"locale": "en-us",
12+
"monikers": [],
13+
"moniker_ranges": [],
14+
"open_to_public_contributors": false,
15+
"type_mapping": {
16+
"Conceptual": "Content",
17+
"ManagedReference": "Content",
18+
"RestApi": "Content"
19+
},
20+
"build_entry_point": "docs",
21+
"template_folder": "_themes"
22+
}
23+
],
24+
"JoinTOCPlugin": [
25+
{
26+
"ConceptualTOC": "/docs/toc.yml",
27+
"ReferenceTOCUrl": "/javascript/api/spfx-toc/toc.json"
28+
}
29+
],
30+
"dependent_packages": [
31+
{
32+
"path_to_root": "_dependentPackages/CommonPlugins",
33+
"target_framework": "net45",
34+
"version": "latest",
35+
"id": "Microsoft.OpenPublishing.CommonPlugins",
36+
"nuget_feed": "https://www.myget.org/F/op/api/v2"
37+
}
38+
],
39+
"notification_subscribers": [],
40+
"branches_to_filter": [],
41+
"skip_source_output_uploading": false,
42+
"need_preview_pull_request": false,
43+
"contribution_branch_mappings": {},
44+
"dependent_repositories": [
45+
{
46+
"path_to_root": "_themes",
47+
"url": "https://github.com/Microsoft/templates.docs.msft",
48+
"branch": "master",
49+
"branch_mapping": {}
50+
}
51+
],
52+
"branch_target_mapping": {},
53+
"need_generate_pdf_url_template": false
54+
}

0 commit comments

Comments
 (0)