testing-library / testing-library-docs

docs site for @testing-library/*
https://testing-library.com
MIT License
455 stars 710 forks source link

Offline support #2

Open alexkrolick opened 5 years ago

alexkrolick commented 5 years ago

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

alexkrolick commented 5 years ago

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

alexkrolick commented 4 years ago

Apparently this is possible in the latest Docusaurus alpha.

nickserv commented 4 years ago

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

alexkrolick commented 4 years ago

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

MatanBobi commented 4 years ago

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

alexkrolick commented 4 years ago

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 commented 4 years ago

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

MatanBobi commented 3 years ago

@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..

ianizaguirre commented 2 years ago

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