File tree 5 files changed +94
-0
lines changed
5 files changed +94
-0
lines changed 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" : " docs" ,
8
+ "build_source_folder" : " docs" ,
9
+ "build_output_subfolder" : " vsdocsdocs" ,
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
+ "template_folder" : " _themes"
19
+ }
20
+ ],
21
+ "notification_subscribers" : [],
22
+ "branches_to_filter" : [],
23
+ "skip_source_output_uploading" : false ,
24
+ "dependent_repositories" : [
25
+ {
26
+ "path_to_root" : " _themes" ,
27
+ "url" : " https://github.com/Microsoft/templates.docs.msft" ,
28
+ "branch" : " master" ,
29
+ "branch_mapping" : {}
30
+ }
31
+ ]
32
+ }
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
+ " vsdocsdocs/**" ,
11
+ " **/includes/**"
12
+ ]
13
+ }
14
+ ],
15
+ "resource" : [
16
+ {
17
+ "files" : [
18
+ " **/*.png" ,
19
+ " **/*.jpg"
20
+ ],
21
+ "exclude" : [
22
+ " **/obj/**" ,
23
+ " vsdocsdocs/**" ,
24
+ " **/includes/**"
25
+ ]
26
+ }
27
+ ],
28
+ "overwrite" : [],
29
+ "externalReference" : [],
30
+ "globalMetadata" : {},
31
+ "fileMetadata" : {},
32
+ "template" : [],
33
+ "dest" : " vsdocsdocs"
34
+ }
35
+ }
Original file line number Diff line number Diff line change
1
+ # Welcome to docs!
You can’t perform that action at this time.
0 commit comments