Skip to content

Commit

Permalink
fix: refine readme examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Aug 4, 2021
1 parent 011fa45 commit 3a5181a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -26,10 +26,10 @@ npx docusaurus-prince-pdf -u https://docusaurus.io/docs
npx docusaurus-prince-pdf -u https://docusaurus.io/docs/cli

# Custom working (output) directory
npx docusaurus-prince-pdf -u https://openbayes.com/docs/ --dest ./pdf-output
npx docusaurus-prince-pdf -u https://openbayes.com/docs --dest ./pdf-output

# Custom output file name
npx docusaurus-prince-pdf -u https://openbayes.com/docs/ --output docs.pdf
npx docusaurus-prince-pdf -u https://openbayes.com/docs --output docs.pdf
```

To generate PDF from a local Docusaurus instance. You need to first build the site locally:
Expand All @@ -42,7 +42,7 @@ yarn build
yarn serve

# Generate PDF from local Docusaurus instance
npx docusaurus-prince-pdf -u http://localhost:4000 # Change port to your serving port
npx docusaurus-prince-pdf -u http://localhost:4000/docs # Change port to your serving port
```

See help screen for more usages:
Expand Down

0 comments on commit 3a5181a

Please sign in to comment.