Skip to content

Commit ff08f3a

Browse files
author
JiayueHu
committed
Initialize open publishing repository: https://github.com/MicrosoftDocs/VBA-Docs of branch live
0 parents  commit ff08f3a

7 files changed

+473
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
log/
2+
obj/
3+
_site/
4+
.optemp/
5+
_themes*/
6+
_repo.*/
7+
8+
.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

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"docsets_to_publish": [],
3+
"notification_subscribers": [],
4+
"branches_to_filter": [],
5+
"skip_source_output_uploading": false,
6+
"need_preview_pull_request": false,
7+
"contribution_branch_mappings": {},
8+
"dependent_repositories": [
9+
{
10+
"path_to_root": "_themes",
11+
"url": "https://github.com/Microsoft/templates.docs.msft",
12+
"branch": "master",
13+
"branch_mapping": {}
14+
}
15+
],
16+
"branch_target_mapping": {},
17+
"need_generate_pdf_url_template": false
18+
}

0 commit comments

Comments
 (0)