Skip to content

Commit 49ed328

Browse files
committed
Initialize open publishing repository: https://github.com/aspnet/Docs of branch master
1 parent bf22fbe commit 49ed328

File tree

5 files changed

+86
-0
lines changed

5 files changed

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

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

aspnet-core-conceptual/TOC.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# [Index](index.md)

aspnet-core-conceptual/docfx.json

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

aspnet-core-conceptual/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Welcome to aspnet-core-conceptual!

0 commit comments

Comments
 (0)