Skip to content

Commit 9b36a77

Browse files
authored
Merge pull request MicrosoftDocs#68 from dend/patch-1
📦 Enable PDF generation.
2 parents 714a80b + a1c52f5 commit 9b36a77

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.openpublishing.publish.config.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
"build_entry_point": "docs",
33
"need_generate_pdf": false,
44
"need_generate_intellisense": false,
5+
"branch_target_mapping": {
6+
"live": [
7+
"Publish",
8+
"Pdf"
9+
],
10+
"master": [
11+
"Publish",
12+
"Pdf"
13+
]
14+
},
15+
"Targets": {
16+
"Pdf": {
17+
"template_folder": "_themes.pdf"
18+
}
19+
},
520
"docsets_to_publish": [
621
{
722
"docset_name": "vcppdocs",
@@ -29,8 +44,13 @@
2944
"url": "https://github.com/Microsoft/templates.docs.msft",
3045
"branch": "master",
3146
"branch_mapping": {}
47+
},
48+
{
49+
"path_to_root": "_themes.pdf",
50+
"url": "https://github.com/Microsoft/templates.docs.msft.pdf",
51+
"branch": "master"
3252
}
3353
],
3454
"need_generate_pdf_url_template": false,
3555
"enable_incremental_build": true
36-
}
56+
}

0 commit comments

Comments
 (0)