Skip to content

Commit

Permalink
Initialize open publishing repository: https://github.com/aspnet/Docs
Browse files Browse the repository at this point in the history
…of branch master
  • Loading branch information
bradygaster committed Oct 27, 2016
1 parent bf22fbe commit 49ed328
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .openpublishing.build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
param(
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'

# Step-1: Download buildcore script to local
echo "download build core script to local with source url: $buildCorePowershellUrl"
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"

# Step-2: Run build core
echo "run build core script with parameters: $parameters"
& "$buildCorePowershellDestination" "$parameters"
exit $LASTEXITCODE
32 changes: 32 additions & 0 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"build_entry_point": "docs",
"need_generate_pdf": false,
"need_generate_intellisense": false,
"docsets_to_publish": [
{
"docset_name": "aspnet-core-conceptual",
"build_source_folder": "aspnet-core-conceptual",
"build_output_subfolder": "aspnet/core",
"locale": "en-us",
"version": 0,
"open_to_public_contributors": true,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content"
},
"template_folder": "_themes"
}
],
"notification_subscribers": [],
"branches_to_filter": [],
"skip_source_output_uploading": false,
"dependent_repositories": [
{
"path_to_root": "_themes",
"url": "https://github.com/Microsoft/templates.docs.msft",
"branch": "master",
"branch_mapping": {}
}
]
}
1 change: 1 addition & 0 deletions aspnet-core-conceptual/TOC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# [Index](index.md)
35 changes: 35 additions & 0 deletions aspnet-core-conceptual/docfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"build": {
"content": [
{
"files": [
"**/*.md"
],
"exclude": [
"**/obj/**",
"aspnet/core/**",
"**/includes/**"
]
}
],
"resource": [
{
"files": [
"**/*.png",
"**/*.jpg"
],
"exclude": [
"**/obj/**",
"aspnet/core/**",
"**/includes/**"
]
}
],
"overwrite": [],
"externalReference": [],
"globalMetadata": {},
"fileMetadata": {},
"template": [],
"dest": "aspnet/core"
}
}
1 change: 1 addition & 0 deletions aspnet-core-conceptual/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Welcome to aspnet-core-conceptual!

0 comments on commit 49ed328

Please sign in to comment.