abemedia / jekyll-pdf

Create PDFs from Jekyll pages & documents.
http://abemedia.co.uk/jekyll-pdf/
GNU General Public License v3.0
104 stars 35 forks source link

In fix_relative_paths, prepend site.source instead of site.dest. #19

Open DonLewisFSI opened 6 years ago

DonLewisFSI commented 6 years ago

This eliminates the need to run jekyll twice when buiding a PDF and a local css or image file has been updated since those may not have been updated in _site before the PDF is generated.

Also strip off site.baseurl if it is set, otherwise PDF generation will fail. The baseurl is the path to the dest directory as seen from an external web server.

ghost commented 4 years ago

Can you share any example with me which used the Jekyll-pdf to convert html to pdf. How we can generate pdf to click on any button/link?