-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add plugin 'docsify-to-pdf-converter'(#185)
- Loading branch information
Showing
4 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
contents: [ "summary.md" ], | ||
pathToPublic: "pdf/advanced-java.pdf", | ||
pdfOptions: "<options for puppeteer.pdf()>", | ||
removeTemp: true, | ||
emulateMedia: "screen", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} |
Binary file not shown.