Skip to content

Commit

Permalink
Initialize open publishing repository: https://github.com/aspnet/Enti…
Browse files Browse the repository at this point in the history
…tyFramework.Docs of branch master
  • Loading branch information
bradygaster committed Oct 31, 2016
1 parent 4caca28 commit 8d878da
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .openpublishing.build.ps1
@@ -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
35 changes: 35 additions & 0 deletions .openpublishing.publish.config.json
@@ -0,0 +1,35 @@
{
"build_entry_point": "docs",
"need_generate_pdf": true,
"need_generate_intellisense": false,
"docsets_to_publish": [
{
"docset_name": "ef",
"build_source_folder": "entity-framework",
"build_output_subfolder": "ef",
"locale": "en-us",
"version": 0,
"open_to_public_contributors": true,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content"
},
"template_folder": "_themes"
}
],
"notification_subscribers": [
"rowmil@microsoft.com"
],
"branches_to_filter": [],
"skip_source_output_uploading": false,
"need_preview_pull_request": false,
"dependent_repositories": [
{
"path_to_root": "_themes",
"url": "https://github.com/Microsoft/templates.docs.msft",
"branch": "master",
"branch_mapping": {}
}
]
}

0 comments on commit 8d878da

Please sign in to comment.