docusaurus/website/docs
Jeremy Asuncion 9b3da59886
feat(v2): Plugin for Offline/PWA support (#2205)
* implement PWA plugin

* added pwa support for docusaurus website

* moved sw registration to client module

* moved compile function to webpack util

* build sw using webpack and render pwa popup

* implement @theme/PwaReloadPopup

* update website sw to use modules

* updated pwa readme

* fix header lint errors

* apply code formatting

* cache files only for mobile, saveData, or installed pwa

* added comments about clearing registrations

* fixed prettier error

* updated pwa README

* fix README JS

* move /blog => /blog/index.html logic to else branch

* add `alwaysPrecache` option

* updated docusaurus-plugin-pwa version

* added pwa to using-plugins.md

* review fixes

* re-disable restricted-globals to use self in service worker

* useless doc

* Update packages/docusaurus-plugin-pwa/README.md

Co-authored-by: Reece Dunham <me@rdil.rocks>

* Update packages/docusaurus-plugin-pwa/README.md

* update a bit pwa doc + minor refactors

* minor refactors + add workbox debug mode

* env PWA_ prefix

* typo

* minor refactor

* fix file output

* add serve:v2:ssl yarn command

* minor pwa fixes

* typo

* add dynamic import comment in SW

* comment

* let the PWA plugin implement its reload popup on his own

* pwa: add Joi options validation

* pwa plugin should have its own webpack/babel custom setup

* PWA:
- debug logs
- better SW params system
- offline mode activation strategies
- docs

* add pwa install gif

* pwa: popup -> reloadPopup + minor refactors

* fix process.env reading + better debug log

* minor fixes

* minor changes

* minor changes

Co-authored-by: slorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2020-07-08 12:32:41 +02:00
..
assets feat(v2): configureWebpack merge strategy + use file-loader for common asset types (#2994) 2020-07-01 19:06:02 +02:00
blog.md document that docs/blog-only modes should delete the existing homepage 2020-06-23 18:29:19 +02:00
cli.md feat(v2): allow deploy without building website (#2770) 2020-05-27 22:34:41 +08:00
configuration.md feat(v2): Allow configuring babel via babel.config.js (#2903) 2020-06-12 11:03:00 +08:00
contributing.md docs(v2): add trailing slash to external links (#2801) 2020-05-24 19:46:23 +08:00
creating-pages.md docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
deployment.md docs(v2): add documentation for multiple blogs (#2933) 2020-06-15 03:18:37 +08:00
design-principles.md chore(v2): v2.0.0 alpha.44 (#2379) 2020-03-08 23:43:40 +08:00
docs.md document that docs/blog-only modes should delete the existing homepage 2020-06-23 18:29:19 +02:00
docusaurus-core.md docs(v2): add router implementation note (#2935) 2020-06-15 12:37:49 +02:00
docusaurus.config.js.md docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
installation.md docs(v2): fix typo in command on installation page (#2886) 2020-06-06 04:14:53 +03:00
introduction.md docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
lifecycle-apis.md feat(v2): configureWebpack merge strategy + use file-loader for common asset types (#2994) 2020-07-01 19:06:02 +02:00
markdown-features.mdx feat(v2): configureWebpack merge strategy + use file-loader for common asset types (#2994) 2020-07-01 19:06:02 +02:00
migrating-from-v1-to-v2.md Merge pull request #2793 from slorber/feature/client-side-redirects 2020-06-10 17:36:57 +02:00
presets.md fix(v2): Use require.resolve to resolve plugin path in presets (#2794) 2020-05-23 04:57:02 +08:00
resources.md docs: mention posthog-docusaurus plugin (#2957) 2020-06-18 19:30:42 +08:00
search.md docs(v2): add mention that appID is optional (#2659) 2020-04-25 19:00:01 +03:00
static-assets.md docs(v2): make .nojekyll warning more obvious (#2887) 2020-06-05 10:22:06 +08:00
styling-layout.md docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
support.md docs(v2): add community pages (#2545) 2020-04-06 01:10:22 +08:00
team.md refactor(v2): various tweaks to website (#2816) 2020-05-27 20:56:59 +08:00
theme-classic.md fix(v2): refactor color mode system (#3012) 2020-06-30 12:21:20 +02:00
typescript-support.md docs(v2): Document TypeScript support (#2997) 2020-06-26 12:09:21 +02:00
using-plugins.md feat(v2): Plugin for Offline/PWA support (#2205) 2020-07-08 12:32:41 +02:00
using-themes.md feat(v2): option and config validation life cycle method for official plugins (#2943) 2020-06-24 20:08:16 +02:00
versioning.md docs(v2): fix doc changes in #2606 2020-04-15 02:38:55 +08:00