Skip to content

Commit

Permalink
Initialize open publishing repository: https://github.com/Microsoft/S…
Browse files Browse the repository at this point in the history
…CCM-pr of branch live
  • Loading branch information
saldana committed Jun 24, 2016
1 parent 1c40d87 commit b236cac
Show file tree
Hide file tree
Showing 8 changed files with 90 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
log/
obj/
_site/
.optemp/

.openpublishing.buildcore.ps1
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "docs themes for _themes"]
path = _themes
url = https://github.com/Microsoft/templates.docs.msft
branch = master
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
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": "sccm",
"build_source_folder": "sccm",
"build_output_subfolder": "sccm",
"locale": "en-us",
"version": 0,
"open_to_public_contributors": false,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content"
},
"build_entry_point": "docs"
}
],
"notification_subscribers": [],
"branches_to_filter": [
"live"
],
"skip_source_output_uploading": false
}
1 change: 1 addition & 0 deletions _themes
Submodule _themes added at fa15bb
1 change: 1 addition & 0 deletions sccm/TOC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# [Index](index.md)
35 changes: 35 additions & 0 deletions sccm/docfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"build": {
"content": [
{
"files": [
"**/*.md"
],
"exclude": [
"**/obj/**",
"sccm/**"
]
}
],
"resource": [
{
"files": [
"**/*.png",
"**/*.jpg"
],
"exclude": [
"**/obj/**",
"sccm/**"
]
}
],
"overwrite": [],
"externalReference": [],
"globalMetadata": {},
"fileMetadata": {},
"template": [
null
],
"dest": "sccm"
}
}
1 change: 1 addition & 0 deletions sccm/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Index test file for Open Publishing

0 comments on commit b236cac

Please sign in to comment.