devdocs
devdocs copied to clipboard
Export and import offline data
An inconvenient of using localStorage and IndexedDB is that a browser may delete the data if you haven't visited the website for some time or the computer is running low on storage.
Such unwanted behavior (in this case) may be mitigated implementing an export/import feature:
- The user can export their downloaded documentations into a JSON file, to store as a backup in case the browser deletes local data. The file would include a backup of the localStorage and IndexedDB.
- At later time, the user can an import the backup JSON file via file upload, completely overwriting the localStorage and IndexedDB into the backed-up values and restoring offline documentation access.
As far as I know, the only issue the user might face is being unable to access DevDocs offline in the first place, but I'm hopeful someone could think of a solution to mitigate this issue.
:+1: It would also allow easily transfer documentation to offline computers, where Internet connection is restricted or unavailable due to technical or security reasons.
Joining in on the request!
+1 would love to see import/export support.
Would love to have this feature.
+1: I would really like to see this feature as well. I am specifically hoping this would be a way to share docs with others. That way only one person in a group would have to download them and share them with flash drives/etc.
+1. I'm wondering how I can get the exported structural data from devdocs.
I think Thibaut will close this, I am not sure why this is still open.
I this being implemented ? I thought I had found my goto doc browser... This feature really is a must have...
Thanks for digging into it.
EDIT: just noted it is a 5 years old issue...