Skip to content

Commit ed0eed4

Browse files
committed
Initialize open publishing repository: https://cpubwin.visualstudio.com/DefaultCollection/powershell/_git/powershell of branch master
1 parent cefdf95 commit ed0eed4

3 files changed

+50
-0
lines changed

.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+
}

ThirdPartyNotices

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
##Legal Notices
2+
Microsoft and any contributors grant you a license to the Microsoft documentation and other content
3+
in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode),
4+
see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT), see the
5+
[LICENSE-CODE](LICENSE-CODE) file.
6+
7+
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation
8+
may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries.
9+
The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks.
10+
Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.
11+
12+
Privacy information can be found at https://privacy.microsoft.com/en-us/
13+
14+
Microsoft and any contributors reserve all others rights, whether under their respective copyrights, patents,
15+
or trademarks, whether by implication, estoppel or otherwise.

0 commit comments

Comments
 (0)