You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using https://github.com/timvink/mkdocs-print-site-plugin this plugin to allow for printing of the website. The HTML file which it generates for printing is available at siteAddress/print_page.html - however, the encrypt plugin doesn't extend to this page, and it is visible to everyone.
I tried using encrypted_something: {} to refer to print_page but it didn't work, and I don't know where the file is generated and hence cant enter the tags.
Quite confused here and would love some help!
The text was updated successfully, but these errors were encountered:
Hi, I am currently unaware how this plugin works. I'll check.
Maybe there is an easy way to also encrypt these printable pages, but it could be rather complicated or impossible. Would it be enough to just remove these pages on build (if the normal page is encrypted)?
Edit: Did you make sure to put encryptcontent at the end of the plugin list like this?
Hi, then I suggest you should exclude (do not print) the encrypted pages from the build for now.
These pages are generated by the print-site-plugin and not in the normal document tree (at least not on first sight). So one possibility would be to find a way to access these files duing build and inject the encrypted version somehow. But this is not high priority for me (any help appreciated). Also it won't be possible to encrypted the generated PDFs
Hi, I am using https://github.com/timvink/mkdocs-print-site-plugin this plugin to allow for printing of the website. The HTML file which it generates for printing is available at
siteAddress/print_page.html
- however, the encrypt plugin doesn't extend to this page, and it is visible to everyone.I tried using
encrypted_something: {}
to refer toprint_page
but it didn't work, and I don't know where the file is generated and hence cant enter the tags.Quite confused here and would love some help!
The text was updated successfully, but these errors were encountered: