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
RobertoGarrido committed Mar 17, 2017
0 parents commit a71ddaf
Show file tree
Hide file tree
Showing 8 changed files with 621 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
log/
obj/
_site/
.optemp/
_themes/
_themes.MSDN.Modern/
_themes.VS.Modern/

.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://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
72 changes: 72 additions & 0 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"build_entry_point": "docs",
"need_generate_pdf": false,
"need_generate_intellisense": false,
"docsets_to_publish": [
{
"docset_name": "analytics-platform-system",
"build_source_folder": "docs-msdn/analytics-platform-system",
"build_output_subfolder": "sql/analytics-platform-system",
"locale": "it-it",
"open_to_public_contributors": false,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content"
},
"build_entry_point": "op"
},
{
"docset_name": "sql-content",
"build_source_folder": "docs",
"build_output_subfolder": "sql",
"locale": "it-it",
"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": true,
"dependent_repositories": [
{
"path_to_root": "_themes",
"url": "https://github.com/Microsoft/templates.docs.msft.it-it",
"branch": "master",
"branch_mapping": {}
},
{
"path_to_root": "_themes.MSDN.Modern",
"url": "https://github.com/Microsoft/templates.msdn.msft",
"branch": "master",
"branch_mapping": {}
},
{
"path_to_root": "_themes.pdf",
"url": "https://github.com/Microsoft/templates.docs.msft.pdf",
"branch": "master"
},
{
"path_to_root": "_repo.en-us",
"url": "https://github.com/MicrosoftDocs/sql-docs-pr",
"branch": "live",
"branch_mapping": {
"live": "live",
"master": "master"
}
}
],
"need_generate_pdf_url_template": false,
"Targets": {
"Pdf": {
"template_folder": "_themes.pdf"
}
}
}
Loading

0 comments on commit a71ddaf

Please sign in to comment.