mirror of
https://github.com/doocs/advanced-java.git
synced 2025-03-24 10:50:06 +08:00
feat: add plugin 'docsify-to-pdf-converter'(#185)
This commit is contained in:
parent
5f000b4180
commit
7c1548e550
7
.docsifytopdfrc.js
Normal file
7
.docsifytopdfrc.js
Normal file
@ -0,0 +1,7 @@
|
||||
module.exports = {
|
||||
contents: [ "summary.md" ],
|
||||
pathToPublic: "pdf/advanced-java.pdf",
|
||||
pdfOptions: "<options for puppeteer.pdf()>",
|
||||
removeTemp: true,
|
||||
emulateMedia: "screen",
|
||||
}
|
44
.gitignore
vendored
44
.gitignore
vendored
@ -1,2 +1,44 @@
|
||||
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
.vscode
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.vscode
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
dist
|
||||
package-lock.json
|
||||
lib
|
||||
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
25
package.json
Normal file
25
package.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"scripts": {
|
||||
"convert": "docsify-pdf-converter"
|
||||
},
|
||||
"name": "advanced-java",
|
||||
"description": "互联网 Java 工程师进阶知识完全扫盲@doocs,https://github.com/doocs/advanced-java",
|
||||
"version": "1.0.0",
|
||||
"main": ".docsifytopdfrc.js",
|
||||
"directories": {
|
||||
"doc": "docs"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/doocs/advanced-java.git"
|
||||
},
|
||||
"author": "yanglbme",
|
||||
"license": "CC-BY-SA-4.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/doocs/advanced-java/issues"
|
||||
},
|
||||
"homepage": "https://github.com/doocs/advanced-java#readme",
|
||||
"devDependencies": {
|
||||
"docsify-pdf-converter": "^2.0.7"
|
||||
}
|
||||
}
|
BIN
pdf/advanced-java.pdf
Normal file
BIN
pdf/advanced-java.pdf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user