-
Notifications
You must be signed in to change notification settings - Fork 2
Labels
area: complianceAffects the compliance area.Affects the compliance area.area: documentationAffects the documentation area.Affects the documentation area.
Description
We discussed the requirement to generate PDFs based on the contents of the website.
Browsers already have the capabilities to generate PDFs of the displayed website. The project Puppeteer uses the API of a headless browser (Chrome or Firefox) to render a HTML page, which can be transformed into a PDF file with the built-in browser capabilities.
To leverage this, we can do the following:
- write a script, that compiles the .md files into one well-structured .md file
- let docusaurus render the .md file as an HTLM page
- cusomize the template for docusaurus for the page
- Use Puppeteer to render the page as pdf
Researching different other options, I found, that these pdf-generators have a short lifetime, when they are created and maintained. The "latest" version is already a few years old. I recommend to use tools which get patches and improvements regulary and combine them to our own solution.
Metadata
Metadata
Assignees
Labels
area: complianceAffects the compliance area.Affects the compliance area.area: documentationAffects the documentation area.Affects the documentation area.
Type
Projects
Status
Backlog