-
Notifications
You must be signed in to change notification settings - Fork 119
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
Allow PDF file download for offline documentation #275
Comments
Hi! Can you assign me this issue? |
I just finished with creating the pdf. It was a lot of work, but I got it working here. I used github actions to automate the pdf creation process using |
That sounds like a pretty complicated solution indeed, I am sorry you spent so much time on it! So I think it would be perfectly fine to just make a PR adding the Docusaurus plugin without it being added to the continuous deployment pipeline (which is running in Netlify, not GitHub Actions by the way). |
Thanks bro! One thing I should mention about this plugin is that you run it with |
I created a PR for this issue: #304 |
Thanks for the PR @monstajoe2002. Sorry we didn't check the license thoroughly before starting the integration. Upon review of the plugin and Prince License, I realized that the non-commercial license requires us to :
I'm not sure if we're interested in this since the doc-to-pdf plugin is available under MIT. I suggest making a link to the PDF available at the end of left menu. |
The PDF is lengthy with 389 pages and could be more readable. I suggest adding a table of contents and generating separate PDFs for user manual and contributor guide. |
Fair enough, where are you gonna store that PDF? Should I regenerate it with an open source tool instead? |
If there is no objection from other team member, I suggest storing the PDF directly in the repository in the Before coding the integration, can you check if there are any other available plugins? I am asking because it seems that doc-to-pdf is not actively maintained. Additionally, we plan to translate our documentation. Could you check how the plugin would support this? |
I also forgot to mention that there's a table of contents in this file. You can view it in the sidebar of any PDF reader e.g. Acrobat, Chrome, etc. If you want an actual table of contents in the PDF itself, it would be a challenge. Also, |
Done. |
A much better way to handle this would be to NOT USE PDF, but instead bundle the website and maintain all the HTML content. Folks would locally view the site just by unzipping the bundled site and then clicking on the More detail on how to do this is here: https://docusaurus.io/blog/releases/3.4#hash-router---experimental |
There is a Docusaurus community plugin to produce PDF files for documentation:
https://github.com/signcl/docusaurus-prince-pdf
which is referenced here: https://docusaurus.io/community/resources#community-plugins
This might allow us to generate a PDF version of our docs for users to have (thinking of regular users, training, etc.) as an example to drop to USB drives easily for offline reference.
We could then put a submenu perhaps directly under Documentation nav called "Offline PDF Docs download" or some such.
I think we had 1 or 2 folks ask for this before? dunno.
The text was updated successfully, but these errors were encountered: