-
Notifications
You must be signed in to change notification settings - Fork 41
Development Guide
Kohhee Peace edited this page May 27, 2022
·
2 revisions
git clone https://github.com/kohheepeace/mr-pdf.git
Change branch and commit
git checkout -b hot-fix
...
implement new feature, fix a bug, etc...
...
git commit -m "YOUR_NEW_COMMIT_MESSAGE"
-
yarn build
commands generatelib
folder. -
node lib/cli.js
command is equivalent tomr-pdf
in development.
Test if mr-pdf
works in your development environment by executing the command below.
yarn build
node lib/cli.js TYPE_HERE_YOUR_COMMAND
For example,
node lib/cli.js --initialDocURLs="https://docusaurus.io/docs/" --contentSelector="article" --paginationSelector="a.pagination-nav__link--next" --excludeSelectors=".theme-doc-breadcrumbs,a.theme-edit-this-page" --coverImage="https://docusaurus.io/img/docusaurus.png" --coverTitle="Docusaurus v2"
git push origin hot-fix
Then, go to https://github.com/kohheepeace/mr-pdf and Request PR.