diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..3d12911f --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +log/ +xhtml/ +packages/ +obj/ +_site/ +Tools/NuGet/ +_site/ +.optemp/ + +.openpublishing.build.mdproj +.openpublishing.buildcore.ps1 +packages.config \ No newline at end of file diff --git a/.openpublishing.build.ps1 b/.openpublishing.build.ps1 new file mode 100644 index 00000000..f442860e --- /dev/null +++ b/.openpublishing.build.ps1 @@ -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 \ No newline at end of file diff --git a/Content/en-us/TOC.md b/Content/en-us/TOC.md new file mode 100644 index 00000000..fbefd4ff --- /dev/null +++ b/Content/en-us/TOC.md @@ -0,0 +1 @@ +# [Get Started](./Emotion/GetStarted.md) \ No newline at end of file diff --git a/Content/en-us/docfx.json b/Content/en-us/docfx.json new file mode 100644 index 00000000..f05c9e48 --- /dev/null +++ b/Content/en-us/docfx.json @@ -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" + } +}