Commit graph

540 commits

Author SHA1 Message Date
Manuel Cepeda
e118fcd4e1
fix(v2): website feedback page hydration bug (#3269) 2020-08-12 11:43:52 +02:00
Arthur Flam
be210a1bc4
docs(v2): showcase user QA-Board (#3232)
* docs(v2): showcase user QA-Board

* Update users.js

* Update users.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-08-07 16:12:38 +08:00
Sébastien Lorber
0a33a52301
fix(v2): deprecate docs homePageId in favor of frontmatter "slug: /" (#3228)
* homePageId => deprecated

* docs prettier
2020-08-06 18:31:50 +02:00
Anshul Goyal
f234c407f1
feat(v2): add support to ignore files in pages plugin (#3196)
* add support to ignore pages

* fix import problem

* Update website/docs/guides/creating-pages.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>

* Revert "fix import problem"

This reverts commit 4457a2e938.

* revert

* fix slash

* forbid frontmatter

* fix formatting

* Update website/docs/guides/creating-pages.md

* Update website/src/pages/examples/_chapter1.md

* Update website/src/pages/examples/_chapter2.mdx

* Update website/src/pages/examples/markdownPageExample.md

* Update website/src/pages/examples/markdownPageExample.md

* Update website/src/pages/examples/markdownPageExample.md

* Update website/src/pages/examples/markdownPageExample.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-05 21:35:55 +02:00
Sébastien Lorber
7cceee7e38
feat(v2): markdown pages (#3158)
* markdown pages POC

* add remark admonition, mdx provider, yarn2npm...

* pluginContentPages md/mdx tests

* pluginContentPages md/mdx tests

* add relative file path test link to showcase link problem

* fix Markdown pages issues after merge

* fix broken links found in markdown pages

* fix tests

* factorize common validation in @docusaurus/utils-validation

* add some documentation

* add using plugins doc

* minor md pages fixes
2020-07-31 16:04:56 +02:00
Méril
962ec2c57c
docs(v2): showcase user questdb (#3163) 2020-07-30 19:10:56 +08:00
Sébastien Lorber
ee2d1b42f6
docs(v2): add myself to /team page + add TeamProfileCard component (#3145)
* add myself to /team page + add TeamProfileCard component

* apply col classes from parent to make TeamProfileCard more reusable
2020-07-28 20:18:15 +02:00
Daniel Hochman
08a726e154
docs(v2): add clutch to showcase (#3094) 2020-07-24 09:01:59 +08:00
François Chalifour
298522ff66
feat(v2): introduce DocSearch v3 search (#2815)
* feat(v2): introduce DocSearch v3 search

* chore(deps): update @docsearch/react

* refactor: use arrow functions in callbacks

* fix: display warning when `algolia` config is missing

* feat: add link to search page

* chore: delete unused style file

* feat(website): specify DocSearch primary color

* fix(search): add "all" word

* feat(search): add `generateSearchPageHref` hook

* chore(deps): update @docsearch/react

* fix(website): remove `hitsPerPage` search parameter

* fix(search): use `baseUrl`

* fix(search): rename `generateSearchPageLink`

* fix(search): fix scroll position on mobile

* fix(search): update query on URL change

* fix(search): close DocSearch modal on See More click

* refactor(search): use `useSearchQuery` to update query from URL

* feat(search): support `/` keyboard shortcut

* fix(search): forward Algolia config to DocSearch

* chore(search): update `@docsearch/react`

* fix(search): encode search value to search page

* fix(search): use `withBaseUrl` on links

* feat(search): attach Docusaurus version to user agents

* docs(docsearch): update DocSearch section

* chore(deps): update @docsearch/react

* feat(search): apply search styles to website

* docs(search): update DocSearch doc

* chore(deps): update @docsearch/react

* chore: update lock file

* chore(deps): update algoliasearch

* fix(website): remove special character in CSS

* docs(search): remove special character in CSS
2020-07-23 14:36:38 +02:00
Sébastien Lorber
27f384a67c
refactor(v2): improve navbar menu + generated config should be normalized (#3088)
* improve navbar menu

* fix errors due to forcePrependBaseUrl being normalized to true

* fix TS errors
2020-07-22 11:56:28 +02:00
Vandré Leal
020a48e7f6
docs(v2): showcase Runlet (#3076) 2020-07-19 23:55:47 +08:00
Anshul Goyal
a3849860ae
fix(v2):pass siteConfig as prop to pages (#3025)
* pass config as prop to pages

* use existing file

* Update packages/docusaurus-plugin-content-pages/src/index.ts

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-07-09 18:57:41 +02:00
Paul Cowgill
233737ec3d
docs(v2): showcase user Tasit (#3034)
* Add Tasit to users showcase

* Add Tasit docs screenshot

* Update users.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-07-09 08:29:25 +08:00
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