Skip to content

Commit 3b65b69

Browse files
committed
Initialize open publishing repository: https://github.com/MicrosoftDocs/OfficeDocs-Exchange-pr of branch live
0 parents  commit 3b65b69

8 files changed

+527
-0
lines changed

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
log/
2+
obj/
3+
_site/
4+
.optemp/
5+
_themes*/
6+
7+
.openpublishing.buildcore.ps1

.openpublishing.build.ps1

+17
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

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"need_generate_pdf": false,
3+
"need_generate_intellisense": false,
4+
"docsets_to_publish": [
5+
{
6+
"docset_name": "OfficeDocs-Exchange",
7+
"build_source_folder": "Exchange",
8+
"build_output_subfolder": "OfficeDocs-Exchange",
9+
"locale": "en-us",
10+
"monikers": [],
11+
"moniker_ranges": [],
12+
"open_to_public_contributors": false,
13+
"type_mapping": {
14+
"Conceptual": "Content",
15+
"ManagedReference": "Content",
16+
"RestApi": "Content"
17+
},
18+
"build_entry_point": "docs",
19+
"template_folder": "_themes",
20+
"version": 0
21+
}
22+
],
23+
"notification_subscribers": [],
24+
"branches_to_filter": [],
25+
"skip_source_output_uploading": false,
26+
"need_preview_pull_request": false,
27+
"dependent_repositories": [
28+
{
29+
"path_to_root": "_themes",
30+
"url": "https://github.com/Microsoft/templates.docs.msft",
31+
"branch": "master",
32+
"branch_mapping": {}
33+
}
34+
],
35+
"need_generate_pdf_url_template": false
36+
}

Exchange/docfx.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"build": {
3+
"content": [
4+
{
5+
"files": [
6+
"**/*.md"
7+
],
8+
"exclude": [
9+
"**/obj/**",
10+
"**/includes/**",
11+
"README.md",
12+
"LICENSE",
13+
"LICENSE-CODE",
14+
"ThirdPartyNotices"
15+
]
16+
}
17+
],
18+
"resource": [
19+
{
20+
"files": [
21+
"**/*.png",
22+
"**/*.jpg"
23+
],
24+
"exclude": [
25+
"**/obj/**",
26+
"**/includes/**"
27+
]
28+
}
29+
],
30+
"overwrite": [],
31+
"externalReference": [],
32+
"globalMetadata": {},
33+
"fileMetadata": {},
34+
"template": [],
35+
"dest": "OfficeDocs-Exchange"
36+
}
37+
}

0 commit comments

Comments
 (0)