Skip to content
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

PDF or 'print version' generator availability? #5

Open
berkas1 opened this issue Sep 29, 2017 · 3 comments
Open

PDF or 'print version' generator availability? #5

berkas1 opened this issue Sep 29, 2017 · 3 comments

Comments

@berkas1
Copy link
Contributor

berkas1 commented Sep 29, 2017

Is there any module for the site generator which would pregenerate PDF version of every documentation page or at least provided some 'Print this page' function, which would generate printing friendly version (with JS in user's browser)?

I would really appreciate this as a docs user, because sometimes I want to make notes to tutorials (or simply have a printed document).

@hubpav
Copy link
Contributor

hubpav commented Oct 1, 2017

Funny - I got the same question on the very same day from a very different user 😃

I fully agree that the documentation should be optimized, so it will be easy to print. I have already checked how to do it and it can be done using CSS's media query (print type) using display: none !important; statement. I believe that should be enough as today browsers also allow to save the page as PDF right away.

What do you think?

@berkas1
Copy link
Contributor Author

berkas1 commented Oct 6, 2017

It could work maybe, please try... Actual use of "Print to PDF" using latest Firefox, Xubutnu leaves an ugly empty space on every page.

bc-printpdf

@hubpav
Copy link
Contributor

hubpav commented Oct 10, 2017

Okay, let's focus on the new docs and optimize that part. I am sure it is doable via CSS. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants