Skip to content

Commit cad2be2

Browse files
committed
0 parents  commit cad2be2

21 files changed

+1857
-0
lines changed

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.c text
7+
*.h text
8+
9+
# Declare files that will always have CRLF line endings on checkout.
10+
*.sln text eol=crlf
11+
12+
# Denote all files that are truly binary and should not be modified.
13+
*.png binary
14+
*.jpg binary

.gitignore

Lines changed: 8 additions & 0 deletions
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

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: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"docsets_to_publish": [],
3+
"notification_subscribers": [],
4+
"sync_notification_subscribers": [],
5+
"branches_to_filter": [],
6+
"skip_source_output_uploading": false,
7+
"need_preview_pull_request": true,
8+
"contribution_branch_mappings": {},
9+
"dependent_repositories": [
10+
{
11+
"path_to_root": "_themes",
12+
"url": "https://github.com/Microsoft/templates.docs.msft",
13+
"branch": "main",
14+
"branch_mapping": {}
15+
}
16+
],
17+
"branch_target_mapping": {},
18+
"need_generate_pdf_url_template": false,
19+
"dependent_packages": [
20+
{
21+
"id": "Microsoft.DocAsCode.MAML2Yaml",
22+
"nuget_feed": "https://www.myget.org/F/op/api/v2",
23+
"path_to_root": "_dependentPackages/MAML2Yaml",
24+
"target_framework": "net45",
25+
"version": "latest"
26+
}
27+
],
28+
"monikerPath": [
29+
"mapping/monikerMapping.json"
30+
]
31+
}

0 commit comments

Comments
 (0)