Skip to content

Commit

Permalink
Add PDF configuration for DocFX
Browse files Browse the repository at this point in the history
  • Loading branch information
Micky5991 committed Nov 27, 2018
1 parent 720a62e commit 19b3e9f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,39 @@
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false
},
"pdf": {
"content": [
{
"files": [
"api/**.yml",
"api/index.md"
],
"exclude": [
"**/toc.yml",
"**/toc.md"
]
},
{
"files": [
"api/toc.yml",
"api/index.md",
"toc.yml",
"*.md",
"pdf/*"
]
},
{
"files": "pdf/toc.yml"
}
],
"resource": [
{
"files": [
"images/**"
]
}
],
"dest": "out_pdf"
}
}
4 changes: 4 additions & 0 deletions pdf/toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: Intro
href: ../index.md
- name: API
href: ../api/toc.yml

0 comments on commit 19b3e9f

Please sign in to comment.