testing-library-docs icon indicating copy to clipboard operation
testing-library-docs copied to clipboard

Offline support

Open alexkrolick opened this issue 6 years ago • 9 comments

https://github.com/kentcdodds/react-testing-library/pull/257#issuecomment-450685404

  • service worker?
  • support for docs browsers like Dash?

alexkrolick avatar Dec 31 '18 20:12 alexkrolick

https://github.com/facebook/Docusaurus/issues/458

alexkrolick avatar Dec 31 '18 20:12 alexkrolick

Apparently this is possible in the latest Docusaurus alpha.

alexkrolick avatar Jul 28 '20 23:07 alexkrolick

Would this automatically be part of #487 or does it have to be enabled manually?

nickserv avatar Oct 07 '20 12:10 nickserv

It's a separate plugin... We want to be careful with service workers here. Don't want to serve stale content accidentally.

alexkrolick avatar Oct 07 '20 19:10 alexkrolick

Now that #487 was merged, I can take this one. Any important stuff to keep in mind when working on it?

MatanBobi avatar Nov 04 '20 09:11 MatanBobi

I think Kent has been bit by stale service workers serving outdated pages a few times now, so let's just be careful about testing this... For now the offline usecase can be solved by cloning the docs repo.

alexkrolick avatar Nov 04 '20 20:11 alexkrolick

We could split this into a separate task, but publishing the docs into the Dash docset database would also be a nice way to handle offline access

https://kapeli.com/docsets

alexkrolick avatar Nov 04 '20 20:11 alexkrolick

@alexkrolick do you have experience with publishing some docs to the docset? It really looks not straightforwards as I thought it would be.. I guess we'd want to use something like: https://kapeli.com/docsets#dashDocset, they have generators but seems to me like it's a real overhead and will need to be manually updated..

MatanBobi avatar Mar 15 '21 12:03 MatanBobi

Yea I would love if it was added to the kapeli dash app

ianizaguirre avatar Feb 02 '22 03:02 ianizaguirre