noc-book-2/magicbook.json
2024-02-12 18:11:39 +08:00

50 lines
No EOL
1.1 KiB
JSON

{
"title": "Nature of Code",
"prince": {
"license": "license.dat",
"timeout": 60000
},
"addPlugins": [
"magicbook/plugins/katex.js",
"magicbook/plugins/codesplit.js",
"magicbook/plugins/relative-link.js",
"magicbook/plugins/screenshot.js",
"magicbook/plugins/chapter-opening.js",
"magicbook/plugins/anchor.js",
"magicbook/plugins/paragraph.js",
"magicbook/plugins/footer.js",
"magicbook/plugins/callout.js"
],
"files": [
"content/*.html"
],
"layout": "magicbook/layouts/pdf.html",
"images": {
"colorspace": "grey16",
"files": [
"content/**/*.jpg",
"content/**/*.png",
"magicbook/images/**/*.*"
]
},
"stylesheets": {
"files": [
"magicbook/stylesheets/index.scss"
]
},
"fonts": {
"files": "magicbook/fonts/**/*.*",
"destination": "assets/fonts/"
},
"builds": [
{
"format": "pdf",
"destination": "build/chapter-opening-preview",
"chapterOpeningPagesOnly": true
},
{
"format": "pdf",
"destination": "build/full"
}
]
}