Skip to content

Commit

Permalink
add files
Browse files Browse the repository at this point in the history
  • Loading branch information
sharriexie committed Feb 4, 2016
1 parent 91a2004 commit 8e3b26e
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
log/
xhtml/
packages/
obj/
_site/
Tools/NuGet/
_site/
.optemp/

.openpublishing.build.mdproj
.openpublishing.buildcore.ps1
packages.config
18 changes: 18 additions & 0 deletions .openpublishing.build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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"
$arguments = "-parameters:'$parameters'"
Invoke-Expression "$buildCorePowershellDestination $arguments"
exit $LASTEXITCODE
1 change: 1 addition & 0 deletions Content/en-us/TOC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# [Get Started](./Emotion/GetStarted.md)
25 changes: 25 additions & 0 deletions Content/en-us/docfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"build": {
"content": [
{
"files": [
"**/**.md"
],
"exclude": ["**/obj/**"]
}
],
"globalMetadata": {
"ROBOTS": "INDEX, FOLLOW"
},
"resource": [
{
"files": [
"**/images/**"
],
"exclude": ["**/obj/**"]
}
],
"template": "op.html",
"dest": "Content/en-us"
}
}

0 comments on commit 8e3b26e

Please sign in to comment.