Skip to content

Commit

Permalink
merged changes from docs migration
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchesnut committed Sep 24, 2017
1 parent 11c493a commit d910bc9
Show file tree
Hide file tree
Showing 2,235 changed files with 8,558 additions and 14,509 deletions.
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
54 changes: 54 additions & 0 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"docsets_to_publish": [
{
"customized_tasks": {
"docset_prebuild": [
"_dependentPackages/CommonPlugins/tools/JoinTOC.ps1" ]
},
"docset_name": "sharepoint-developer",
"build_source_folder": "docs",
"build_output_subfolder": "sharepoint-developer",
"locale": "en-us",
"monikers": [],
"moniker_ranges": [],
"open_to_public_contributors": false,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content"
},
"build_entry_point": "docs",
"template_folder": "_themes"
}
],
"JoinTOCPlugin": [
{
"ConceptualTOC": "/docs/toc.yml",
"ReferenceTOCUrl": "/javascript/api/spfx-toc/toc.json"
}
],
"dependent_packages": [
{
"path_to_root": "_dependentPackages/CommonPlugins",
"target_framework": "net45",
"version": "latest",
"id": "Microsoft.OpenPublishing.CommonPlugins",
"nuget_feed": "https://www.myget.org/F/op/api/v2"
}
],
"notification_subscribers": [],
"branches_to_filter": [],
"skip_source_output_uploading": false,
"need_preview_pull_request": false,
"contribution_branch_mappings": {},
"dependent_repositories": [
{
"path_to_root": "_themes",
"url": "https://github.com/Microsoft/templates.docs.msft",
"branch": "master",
"branch_mapping": {}
}
],
"branch_target_mapping": {},
"need_generate_pdf_url_template": false
}
Loading

0 comments on commit d910bc9

Please sign in to comment.