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

Offline Reading #205

Open
InteXX opened this issue Jan 21, 2021 · 5 comments
Open

Offline Reading #205

InteXX opened this issue Jan 21, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@InteXX
Copy link

InteXX commented Jan 21, 2021

Thank you for this.

Is there an easy way to convert it to PDF, for offline viewing? My bandwidth is sharply limited and reading it online is prohibitive.

@softchris
Copy link
Owner

so question back

  • how bad is you bandwidth?

There are two ways I can solve this for you:

  • Adding a service worker to Docsify (i.e softchris.github.io/react-book), and you can get shut off the Internet and it would still work. This is good if your Internet works a bit up and down.
  • Generate a PDF, if your Internet doesn't work at all mostly.

Let me know what situation you have so I can select the best way to help @InteXX :)

@softchris softchris added the enhancement New feature or request label Jan 21, 2021
@InteXX
Copy link
Author

InteXX commented Jan 22, 2021

I get 1Mbps on a good day 🙂

That Docsify sounds interesting. I'll look closer.

A PDF would be ideal, but I don't want to ask for too much of your time. I wouldn't be interested in a private solution—only one that everyone can use.

Perhaps Docsify is that solution.

@iqbalmalik89
Copy link

Can you generate its PDF?

@InteXX
Copy link
Author

InteXX commented Oct 22, 2022

@softchris

I'm trying to follow what you mean by this:

Adding a service worker to Docsify

But I'm coming up empty unfortunately.

Can you clarify?

@davidzoli
Copy link

@InteXX

  1. Create a folder, like 0-TOC
  2. Copy the attached file into that _sidebar.md
  3. Setup the docsify-to-pdf into your clone's root and add a configuration file with the contents: [ "0-TOC/_sidebar.md" ] setting.
  4. Run the convert and now you should have a pdf file with all the md files' content in the desired order.

@softchris
Maybe you can consider adding that catalogue file for the PDF generation. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants