-
Notifications
You must be signed in to change notification settings - Fork 77
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
Idea: Add a downloadable static copy, for offline viewing #219
Comments
CIDER has clojuredocs lookup built-in, it also works offline. To do that, they create a daily export as an EDN file, maybe that's good enough for you? |
I'm half-wrong, the EDN export actually only converts an official json export, more info here: |
I downloaded a copy of this JSON file today, and the time stamp included within it appears to be from 2021-Mar-28: https://clojuredocs.org/clojuredocs-export.json Is there some periodic process to write new versions of that file that might no longer be running periodically since that day? |
Hrm, so the export runs daily, just checked and the process seems to be up. I took a look at the "created-at" top level property of the export and it's looking like it was created today (unix ts |
@zk Sorry, my mistake. I somehow flubbed up the curl command for downloading the JSON file, and had an old copy locally on my file system. I have downloaded the actual latest version from https://clojuredocs.org/clojuredocs-export.json available today, and its time stamp is 2021-Oct-17 as desired. Thanks. |
All good, IIRC you had reported last time the export stopped working so glad this wasn't a regression. Thanks Andy! |
I'm also interested in a static version of the documentation being provided as a compressed HTML download or a single page download. Using something like What work would be required to generate a static / downloadable version of clojuredocs without search or other dynamic content such as social media badges and comments? I'd be happy to pitch in with any accessibility efforts such as offline docs for folks with unreliable internet access. In the spirit of increased documentation accessibility, I've also opened an issue within the official clojure-site repo. A static version of the docs with a static view of the comments on various entries would be a nice-to-have addition. Often those are quite helpful. |
Would it be hard to autogenerate a purely static / no-server-required copy of the website? This would be very useful to have available locally on a development laptop for day to day use: it'd be faster than hitting the network, and available offline, too.
The text was updated successfully, but these errors were encountered: