File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ log /
2+ obj /
3+ _site /
4+ .optemp /
5+ _themes /
6+ _themes.MSDN.Modern /
7+ _themes.VS.Modern /
8+
9+ .openpublishing.buildcore.ps1
Original file line number Diff line number Diff line change 1+ param (
2+ [string ]$buildCorePowershellUrl = " https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1" ,
3+ [string ]$parameters
4+ )
5+ # Main
6+ $errorActionPreference = ' Stop'
7+
8+ # Step-1: Download buildcore script to local
9+ echo " download build core script to local with source url: $buildCorePowershellUrl "
10+ $repositoryRoot = Split-Path - Parent $MyInvocation.MyCommand.Definition
11+ $buildCorePowershellDestination = " $repositoryRoot \.openpublishing.buildcore.ps1"
12+ Invoke-WebRequest $buildCorePowershellUrl - OutFile " $buildCorePowershellDestination "
13+
14+ # Step-2: Run build core
15+ echo " run build core script with parameters: $parameters "
16+ & " $buildCorePowershellDestination " " $parameters "
17+ exit $LASTEXITCODE
Original file line number Diff line number Diff line change 1+ {
2+ "build_entry_point" : " docs" ,
3+ "need_generate_pdf" : false ,
4+ "need_generate_intellisense" : false ,
5+ "docsets_to_publish" : [
6+ {
7+ "docset_name" : " mpp" ,
8+ "build_source_folder" : " docs/mpp" ,
9+ "build_output_subfolder" : " sql/mpp" ,
10+ "locale" : " en-us" ,
11+ "version" : 0 ,
12+ "open_to_public_contributors" : false ,
13+ "type_mapping" : {
14+ "Conceptual" : " Content" ,
15+ "ManagedReference" : " Content" ,
16+ "RestApi" : " Content"
17+ },
18+ "build_entry_point" : " docs" ,
19+ "template_folder" : " _themes.MSDN.Modern"
20+ }
21+ ],
22+ "notification_subscribers" : [],
23+ "branches_to_filter" : [],
24+ "skip_source_output_uploading" : false ,
25+ "dependent_repositories" : [
26+ {
27+ "path_to_root" : " _themes.MSDN.Modern" ,
28+ "url" : " https://github.com/Microsoft/templates.msdn.msft" ,
29+ "branch" : " master" ,
30+ "branch_mapping" : {}
31+ }
32+ ]
33+ }
Original file line number Diff line number Diff line change 1+ # [ Index] ( index.md )
Original file line number Diff line number Diff line change 1+ {
2+ "build" : {
3+ "content" : [
4+ {
5+ "files" : [
6+ " **/*.md"
7+ ],
8+ "exclude" : [
9+ " **/obj/**" ,
10+ " sql/mpp/**" ,
11+ " **/includes/**"
12+ ]
13+ }
14+ ],
15+ "resource" : [
16+ {
17+ "files" : [
18+ " **/*.png" ,
19+ " **/*.jpg"
20+ ],
21+ "exclude" : [
22+ " **/obj/**" ,
23+ " sql/mpp/**" ,
24+ " **/includes/**"
25+ ]
26+ }
27+ ],
28+ "overwrite" : [],
29+ "externalReference" : [],
30+ "globalMetadata" : {},
31+ "fileMetadata" : {},
32+ "template" : [],
33+ "dest" : " sql/mpp"
34+ }
35+ }
Original file line number Diff line number Diff line change 1+ # Index test file for Open Publishing
You can’t perform that action at this time.
0 commit comments