vaggeliskls/Docusaurus to PDF
Extracts a PDF from a Docusaurus documentation URL
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| DOCS_URL | Docusaurus docs URL | yes | — |
| PUPPETEER_ARGS | Additional Puppeteer arguments | no | --no-sandbox |
| EXCLUDE_URLS | URLs to exclude from the PDF | no | — |
| EXCLUDE_PATHS | Path patterns to exclude from the PDF | no | — |
| COVER_TITLE | Title for the PDF cover page | no | Documentation |
| CONTENT_SELECTOR | CSS selector for the main content | no | article |
| PAGINATION_SELECTOR | CSS selector for pagination elements | no | a.pagination-nav__link.pagination-nav__link--next |
| EXCLUDE_SELECTOR | CSS selector for elements to exclude | no | .margin-vert--xl a,[class^='tocCollapsible'],.breadcrumbs,.theme-edit-this-page |
| EXTRA_ARGS | Additional arguments for the docs-to-pdf command | no | — |
| OUTPUT_PDF_FILENAME | Custom name for the generated PDF file | no | docs-to-pdf.pdf |
Outputs
no outputs