Skip to content

Commit

Permalink
Merge pull request #855 from nature-of-code/update-magicbook
Browse files Browse the repository at this point in the history
Updating magicbook to 0.33
  • Loading branch information
shiffman authored Feb 26, 2024
2 parents c962509 + f7635fe commit 87496fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
21 changes: 6 additions & 15 deletions magicbook.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"title": "Nature of Code",
"prince": {
"license": "license.dat",
"javascript": true,
"timeout": 60000
},
"addPlugins": [
Expand All @@ -15,27 +16,17 @@
"magicbook/plugins/footer.js",
"magicbook/plugins/callout.js"
],
"files": [
"content/*.html"
],
"files": ["content/*.html"],
"layout": "magicbook/layouts/pdf.html",
"images": {
"colorspace": "grey16",
"files": [
"content/**/*.jpg",
"content/**/*.png",
"magicbook/images/**/*.*"
]
"files": ["content/**/*.jpg", "content/**/*.png", "magicbook/images/**/*.*"]
},
"stylesheets": {
"files": [
"magicbook/stylesheets/index.scss"
]
"files": ["magicbook/stylesheets/index.scss"]
},
"javascripts": {
"files": [
"magicbook/scripts/*.js"
]
"files": ["magicbook/scripts/*.js"]
},
"fonts": {
"files": "magicbook/fonts/**/*.*",
Expand All @@ -47,4 +38,4 @@
"destination": "build/full"
}
]
}
}
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"jest": "^29.7.0",
"katex": "^0.16.9",
"lodash-es": "^4.17.21",
"magicbook": "^0.1.32",
"magicbook": "^0.1.33",
"postcss": "^8.4.14",
"postcss-import": "^14.1.0",
"react": "^18.2.0",
Expand Down

0 comments on commit 87496fe

Please sign in to comment.