Commit graph

577 commits

Author SHA1 Message Date
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
Ben Gubler
46f794b2ba
docs(v2): showcase Eta (#3022) 2020-07-05 11:43:08 +08:00
Teik Jun
086d1b7135
fix(v2): fix broken links on versions page (#3017)
* fix(v2): fix broken links on versions page

* fix(v2): fix broken link to remark and rehype
2020-07-01 12:04:53 +02:00
Rian Finnegan
65ce107331
docs(v2): showcase Amphora Data (#2991)
Co-authored-by: Rian Finnegan <rian@amphoradata.com>
2020-06-25 16:24:07 +02:00
Sam Zhou
5ccd24cc1f
feat(v2): Support swizzling TypeScript components (#2671)
* feat(v2): Support swizzling TypeScript components

* Add tsc --noEmit to tsc script in theme-classic

Now everything can pass the type checker! (although still a lot of any)

* Add tsconfig and types.d.ts to website

Improve developer experience.

As an example, I converted NotFound to tsx

* Apply type annotation suggestions

* Do not fallback to `getThemePath` if getTypeScriptThemePath is undefined

* Fix tsc

* Add module declaration for @theme-original/*

* Move babel cli to root package.json
2020-06-25 16:07:30 +02:00
Alexey Pyltsyn
afe9ff91a4
chore(v2): replace classnames with clsx (#2895) 2020-06-07 13:40:06 +08:00
Alexey Pyltsyn
36cf2eca87
refactor(v2): synchronize yarn/npm command on site (#2897) 2020-06-06 16:49:49 +08:00
Sébastien Lorber
953abd8154
feat(v2): allow adding components to react-live scope (#2826)
* feat(v2): add components to react-live scope (#2807)

* fix admonition issue + improve react-live scope doc

* fix again admonition :(

* remove forwarding of mdx components to react-live scope (for now)

* remove useless dep
2020-06-04 15:18:42 +03:00
Fanny
4b78fd4f96
fix(v2): Getting Started URL (#2874) 2020-06-04 03:34:22 +03:00
Joel Marcey
63e2720dff
Updated banner in solidarity (#2862) 2020-06-01 12:42:48 -07:00
Alexey Pyltsyn
ae91234e0f
refactor(v2): add missing main landmark for needed pages (#2858) 2020-06-01 19:10:14 +08:00
Alexey Pyltsyn
2105700fb7
refactor(v2): various tweaks to website (#2816) 2020-05-27 20:56:59 +08:00
Alexey Pyltsyn
ef3741fd7f
chore(v2): v2.0.0-alpha.51 (#2673) 2020-04-27 14:43:17 +03:00
Alexey Pyltsyn
c0e531e5d9
feat(v2): add ability to specify CSS class for navbar item (#2660)
* feat(v2): add ability to specify CSS class for navbar item

* Fix linting issues
2020-04-27 02:21:36 +08:00
Kamil Kisiela
7e57acb8af
docs(v2): showcase GraphQL Code Generator and GraphQL Mesh (#2639) 2020-04-22 12:31:40 +08:00
Kamil Kisiela
ff0d751d12
docs(v2): showcase GraphQL Inspector (#2600) 2020-04-14 01:35:53 +08:00
Chris Watson
2510d3f18f
docs(v2): add Tourmaline to Showcase page (#2569) 2020-04-09 21:37:38 +03:00
Yangshun Tay
c1ef488115
docs(v2): add community pages (#2545)
* docs(v2): add community pages

* misc fixes
2020-04-06 01:10:22 +08:00
Alexey Pyltsyn
1f00d15c74 chore(v2): fix code style (revert previous changes) 2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd chore(v2): fix code style 2020-04-05 17:30:59 +03:00
Yangshun Tay
b07507c9cc
chore(v2): upgrade devDependencies (#2538)
* chore(v2): upgrade devDependencies

* chore(v2): upgrade devDependencies

* chore: prettier
2020-04-05 19:07:44 +08:00
Alexey Pyltsyn
1577ab98e9
fix(v2): fix HTML issues nav dropdown and highlight docs item (#2489) 2020-04-02 01:07:51 +08:00
Yangshun Tay
f96c2b61d7
feat(v2): nav dropdown (#2487)
* feat(v2): allow nav dropdown

* docs(v2): document navbar links

* fix bug
2020-04-01 03:10:04 +08:00
Alexey Pyltsyn
c299baa80b
fix(v2): various improvements for accessibility (#2480) 2020-03-29 23:35:58 +08:00
Ben Gubler
a8a4fe467a
polish(v2): use npm-to-yarn for the npm2yarn remark plugin (#2428)
* Use npm-to-yarn for the Bash npm2yarn Remark plugin

* Update npm-to-yarn version with fix

* Update npm-to-yarn yet another time to fix another -g/--global bug

* Update remark-npm2yarn.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-24 08:53:48 +08:00
Jefferson Licet
08616997da
Adding Motion Layout to showcase users (#2450) 2020-03-23 22:31:05 +03:00
Alexey Pyltsyn
3052ef14e5
fix(v2): various improvements for accessibility (#2442) 2020-03-23 11:46:57 +08:00
Paul Armstrong
12b9be18f7
docs(v2): add Build Tracker to showcase (#2416) 2020-03-16 10:37:22 +03:00
Sylvain Pace
3f682046df
docs(v2): remove unwanted black line from DocSearch showcase image (#2328) 2020-02-26 23:58:29 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code (#2320)
* chore: yearless copyright headers for source code

* update snapshots
2020-02-25 23:12:28 +08:00
Scott Lee
5754f63a23
docs(v2): showcase user Algolia (#2319) 2020-02-25 16:04:34 +08:00
Alexey Pyltsyn
d1219b1233
feat(v2): add site title to meta title (#2255)
* feat(v2): add site title to meta title

* Change page separator

* Exlucde tagline from empty title

* Use tagline for title on home page
2020-01-31 22:55:23 +08:00
Alexey Pyltsyn
2cc4111cc7
fix(v2): add title for Feedback page (#2256)
* fix(v2): add title for Feedback page

* Update index.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-01-30 22:09:58 +08:00
Ashley Jeffs
78c1fe86db docs(v2): Add Benthos to showcase (#2246) 2020-01-28 00:44:00 +03:00
awalias
f254da5bb8 docs(v2): showcase user supabase (#2233) 2020-01-21 15:04:10 +08:00
Alexey Pyltsyn
270e22581a fix(v2): remove logo background (#2209) 2020-01-12 21:28:18 +08:00
Alexey Pyltsyn
7074754252 refactor(v2): simplify markup of Showcase page (#2180) 2020-01-03 10:40:43 +08:00
Yangshun Tay
08ca95af01
docs(v2): dark mode syntax highlighting (#2153) 2019-12-29 16:40:17 +08:00
Thiago de Souza
d82615b94b docs(v2): showcase user neutronjs (#2154) 2019-12-29 12:11:25 +08:00
Alexey Pyltsyn
4f0ae6d117 fix(v2): align GH button in vertical center (#2119) 2019-12-12 13:49:37 -08:00
Alexey Pyltsyn
1f0eb37e19 fix(v2): add syntax highlight to generated colors (#2114) 2019-12-10 12:50:35 -08:00
Alexey Pyltsyn
172f07116d fix(v2): add missing hyphen in color generator (#2106) 2019-12-09 22:08:26 +07:00
Yangshun Tay
d5919fd962
feat(v2): add color generator for primary colors (#2104) 2019-12-09 02:10:38 -08:00
endiliey
7a6516ce5d chore(v2): optimize images 2019-12-02 14:51:07 +07:00
Alexey Pyltsyn
25207df4a7 fix(v2): add h1 to versions page (#2065) 2019-11-28 11:01:59 -08:00
endiliey
bd5bdb91f7 chore: add missing facebook copyright header 2019-11-27 16:50:20 +07:00
Alexey Pyltsyn
085f522817 fix(v2): make friendlier title on home page for SEO (#2049) 2019-11-25 10:31:14 -08:00
Alexey Pyltsyn
9b4715a70d fix(v2): make proper spelling of Yarn in tabs (#2052) 2019-11-25 17:07:36 +07:00
Alexey Pyltsyn
82c751f092 fix(v2): hide past versions if it does not exist (#2050) 2019-11-25 16:16:23 +07:00
Binary Logic
3d4d89f332 docs(v2): showcase user vector.dev :) (#2040)
* chore(v2): Add vector.dev to the showcase :)

Signed-off-by: Ben Johnson <bjohnson@binarylogic.com>

* Fix preview image to remove tooltip

Signed-off-by: Ben Johnson <bjohnson@binarylogic.com>
2019-11-24 09:44:20 -08:00