-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to generate a pdf of the community policies #18
base: master
Are you sure you want to change the base?
Conversation
Thank you for fixing PDF generation. I have a few comments:
|
This PR makes it possible to generate a pdf of the package policies and installation policies. This is done with pandoc and panflute (python package for pandoc filters).
In order to get decent pdf output, some reformatting of the markdown had to be done:
For one, superscripts had to be changed to comply with the pandoc flavored markdown rather than GitHub flavored. As such, superscripts do not render on GitHub - instead they look like this: ^1^.
Also, the markdown text had to be wrapped at approx. 80 characters so that it fits in the rendered pdf.
Thirdly, to make it possible to link to individual installation policies in the PDF, they have been prefixed with an 'I', that is, installation policy 1, is now installation policy I1. This also will make it easier for people to refer to installation policies (removes ambiguity).
The rendered PDFs are attached below (updated with fix for multilevel bullets):
xsdk-community-policies.pdf
xsdk-installation-policies.pdf