Skip to content

Commit

Permalink
Initialize open publishing repository: https://github.com/Microsoft/W…
Browse files Browse the repository at this point in the history
…indowsServerDocs-pr of branch live
  • Loading branch information
saldana committed Jun 28, 2016
1 parent d05e40f commit d2516bc
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
log/
obj/
_site/
.optemp/
_themes/

.openpublishing.buildcore.ps1
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://opbuildstoragesandbox2.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
25 changes: 25 additions & 0 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"need_generate_pdf": false,
"need_generate_intellisense": false,
"docsets_to_publish": [
{
"docset_name": "WindowsServerDocs",
"build_source_folder": "WindowsServerDocs",
"build_output_subfolder": "windows-server",
"locale": "en-us",
"version": 0,
"open_to_public_contributors": false,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content"
},
"build_entry_point": "op"
}
],
"notification_subscribers": [],
"branches_to_filter": [
"live"
],
"skip_source_output_uploading": false
}
35 changes: 35 additions & 0 deletions WindowsServerDocs/docfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"build": {
"content": [
{
"files": [
"**/*.md"
],
"exclude": [
"**/obj/**",
"windows-server/**"
]
}
],
"resource": [
{
"files": [
"**/*.png",
"**/*.jpg"
],
"exclude": [
"**/obj/**",
"windows-server/**"
]
}
],
"overwrite": [],
"externalReference": [],
"globalMetadata": {},
"fileMetadata": {},
"template": [
null
],
"dest": "windows-server"
}
}

0 comments on commit d2516bc

Please sign in to comment.