Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

Commit f6db9e3

Browse files
author
dend
committed
Initialize open publishing repository: https://github.com/xamarin/Essentials of branch master
1 parent f185ef4 commit f6db9e3

4 files changed

+92
-0
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: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
"need_generate_pdf": false,
19+
"need_generate_intellisense": false,
20+
"dependent_packages": [
21+
{
22+
"id": "Microsoft.OpenPublishing.CommonPlugins",
23+
"nuget_feed": "https://www.myget.org/F/op/api/v2",
24+
"path_to_root": "_dependentPackages/CommonPlugins",
25+
"target_framework": "net45",
26+
"version": "latest"
27+
},
28+
{
29+
"id": "Microsoft.DocAsCode.ECMA2Yaml",
30+
"nuget_feed": "https://www.myget.org/F/op/api/v2",
31+
"path_to_root": "_dependentPackages/ECMA2Yaml",
32+
"target_framework": "net45",
33+
"version": "latest"
34+
},
35+
{
36+
"id": "memberpage.plugins",
37+
"nuget_feed": "https://www.myget.org/F/docfx/api/v2",
38+
"path_to_root": "_dependentPackages/memberpage.plugins",
39+
"target_framework": "net45",
40+
"version": "latest"
41+
}
42+
]
43+
}

LICENSE-CODE

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
The MIT License (MIT)
2+
Copyright (c) Microsoft Corporation
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
5+
associated documentation files (the "Software"), to deal in the Software without restriction,
6+
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
7+
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
8+
subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all copies or substantial
11+
portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
14+
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
15+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
16+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
17+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ThirdPartyNotices

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