Skip to content

Commit

Permalink
Initialize open publishing repository: https://github.com/MicrosoftDo…
Browse files Browse the repository at this point in the history
  • Loading branch information
meganbradley committed Dec 15, 2016
1 parent 6e6bda1 commit 6bceff0
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore
@@ -0,0 +1,7 @@
log/
obj/
_site/
.optemp/
_themes*/

.openpublishing.buildcore.ps1
17 changes: 17 additions & 0 deletions .openpublishing.build.ps1
@@ -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
34 changes: 34 additions & 0 deletions .openpublishing.publish.config.json
@@ -0,0 +1,34 @@
{
"need_generate_pdf": false,
"need_generate_intellisense": false,
"docsets_to_publish": [
{
"docset_name": "vs-mobile-center-docs",
"build_source_folder": "vs-mobile-center-docs",
"build_output_subfolder": "vs-mobile-center-docs",
"locale": "en-us",
"version": 0,
"open_to_public_contributors": false,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content"
},
"build_entry_point": "docs",
"template_folder": "_themes"
}
],
"notification_subscribers": [],
"branches_to_filter": [],
"skip_source_output_uploading": false,
"need_preview_pull_request": false,
"dependent_repositories": [
{
"path_to_root": "_themes",
"url": "https://github.com/Microsoft/templates.docs.msft",
"branch": "master",
"branch_mapping": {}
}
],
"need_generate_pdf_url_template": false
}
1 change: 1 addition & 0 deletions vs-mobile-center-docs/TOC.md
@@ -0,0 +1 @@
# [Index](index.md)
35 changes: 35 additions & 0 deletions vs-mobile-center-docs/docfx.json
@@ -0,0 +1,35 @@
{
"build": {
"content": [
{
"files": [
"**/*.md"
],
"exclude": [
"**/obj/**",
"vs-mobile-center-docs/**",
"**/includes/**"
]
}
],
"resource": [
{
"files": [
"**/*.png",
"**/*.jpg"
],
"exclude": [
"**/obj/**",
"vs-mobile-center-docs/**",
"**/includes/**"
]
}
],
"overwrite": [],
"externalReference": [],
"globalMetadata": {},
"fileMetadata": {},
"template": [],
"dest": "vs-mobile-center-docs"
}
}
1 change: 1 addition & 0 deletions vs-mobile-center-docs/index.md
@@ -0,0 +1 @@
# Welcome to vs-mobile-center-docs!

0 comments on commit 6bceff0

Please sign in to comment.