Commit graph

3428 commits

Author SHA1 Message Date
Martin Adámek
f8044d7842
docs(v2): Add MikroORM site to showcase page (#4224)
* add MikroORM to users.js

* add MikroORM screenshot
2021-02-15 09:52:48 +01:00
Christian Bromann
11c24268a1
docs(v2): Add WebdriverIO docs page as showcase (#4220) 2021-02-12 17:19:12 +01:00
Alexey Pyltsyn
175d9c3c8e
feat(v2): support/use React v17 by default (#4218)
* chore(v2): allow React v17 as peer dependency

* minor React 17 changes

* Revert examples

* Possible fix

* Use @docusaurus/react-loadable fork

* add back react-loadable to please eslint/ts/linters, even if it's unused in practice

* missing dependency bump

* move enzyme dependencies to docusaurus v1

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-12 17:04:45 +01:00
Sébastien Lorber
6a94ad989c
feat(v2): Add i18n default code translation bundles (#4215)
* Add default code translation bundles

* fix tests
2021-02-12 11:35:09 +01:00
Sébastien Lorber
1b3c9be530
chore(v2): setup for i18n staging deployment (#4214) 2021-02-11 12:31:50 +01:00
Alexey Pyltsyn
7f6c4be2f3
misc(v2): add requirements for sites being added to showcase (#4210)
* misc: add requirements for sites being added to showcase

* Update users.js

* Update website/src/data/users.js

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-02-10 16:11:44 +01:00
Nahiyan Kamal
bdb7b9bcf3
docs(v2): Added Console Table Printer documentation to showcase (#4207) 2021-02-10 16:09:55 +01:00
Sébastien Lorber
780afe5278
fix(v2): typo in resolve.roots (#4212) 2021-02-10 11:48:41 +01:00
Alexey Pyltsyn
0ac34b75c5
feat(v2): add support for RTL direction (#4140)
* feat(v2): add support for RTL

* Move to i18n config

* Move direction to localeConfigs

* Create RTL styles for Docusaurus styles (via new hook)

* update infima to alpha 19

* fix minor type error

* Fix build

* Cleanup

* polish RTL support

* polish RTL support

* revert english rtl dir

* minor RTL fix

* minor doc updates

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-10 10:52:26 +01:00
Alexey Pyltsyn
2fb642d9ee
feat(v2): allow extend PostCSS config (#4185)
* feat(v2): allow extend PostCSS config

* polish the configurePostCss system

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-09 20:02:54 +01:00
Alexey Pyltsyn
b3b658f687
feat(v2): allow to change location of search bar (#4199)
* feat(v2): allow to change location of search bar

* add SearchBar swizzle comment

* quickfix for NavbarItem theme config

* typing quickfix

* doc typo

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-09 16:31:52 +01:00
Sébastien Lorber
2a12869fc0
feat(v2): add fonts loaders + webpack resolve.roots (#4198)
see https://github.com/webpack-contrib/css-loader/issues/1256
2021-02-09 15:33:13 +01:00
Alexey Pyltsyn
74a58efe16
fix(v2): various minor bugs with location hash (#4200)
* fix(v2): various minor bugs with location hash

* Fix for disabled hideScroll
2021-02-09 15:25:33 +01:00
Nahiyan Kamal
c5d3a86489
docs(v1): fixing a broken link in blog posts (#4204) 2021-02-09 15:21:13 +01:00
Alexey Pyltsyn
00c1e8d852
refactor(v2): update tabs to follow WAI-ARIA (#4193) 2021-02-08 18:46:50 +01:00
Alexey Pyltsyn
fc071b0c2f
fix(v2): restore hamburger menu (#4195) 2021-02-08 17:19:44 +01:00
Alexey Pyltsyn
cfeadbf824
fix(v2): prevent click on item menu with children on mobiles (#4189) 2021-02-08 16:46:40 +01:00
Alexey Pyltsyn
174b4200ee
refactor(v2): use transform instead of top position for hideable navbar (#4194)
* refactor(v2): use translateY instead of top to hide navbar

* Use translate3d instead of translateY
2021-02-08 16:13:56 +01:00
Alexey Pyltsyn
d6510b63ae
fix(v2): prepend docsearch modal to body element (#4188) 2021-02-08 15:57:03 +01:00
Mohd Shad Mirza
b0e38d57df
docs(v2): add Hashnode support site to showcase (#4171)
* Added Hashnode support site to showcase

* updated hashnode preview image

* Update users.js

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-02-08 15:51:05 +03:00
Vamsi Krishna Reddy Satti
5871d1b41f
fix(v2): fix broken link in warning about useThemeContext (#4183)
* Fix typo from 'dissapear' to 'disappear'

* Fix broken link
2021-02-06 23:28:16 +03:00
Alexey Pyltsyn
a6f771571b
fix(v2): make locale dropdown accessible from keyboard (#4176) 2021-02-05 16:21:05 +01:00
Sébastien Lorber
e3ae349889
docs(v2): localize 404 page with Netlify + docs (#4178) 2021-02-04 19:45:16 +01:00
Reece Dunham
6af8fbb0d2
docs(v2): Add docusaurus-plugin-remote-content to resources list (#4177)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2021-02-04 18:59:21 +01:00
Bhargav Ponnapalli
f788ba49c5
docs(v2): Add react-hooks.org to showcase (#4172)
* Update users.js

* Put back comma

* Add rooks logo

* Delete Logo Rooks.png

* Add rooks.png logo

* Delete rooks.png

* Add new rooks.png image
2021-02-04 17:16:49 +01:00
Nahiyan Kamal
385d8b6315
docs(v2): typo fixing double colon (#4173) 2021-02-04 12:23:20 +01:00
Alexey Pyltsyn
dbfa256a7b
refactor(v2): minor styling improvements (#4167)
* refactor(v2): minor styling improvements

* Fixes
2021-02-04 11:53:20 +01:00
Alexey Pyltsyn
d63a77d239
refactor(v2): remove delay after skip link pressed (#4169) 2021-02-04 11:32:49 +01:00
Jessica Lin
4d3573dfcb
docs(v2): update check yarn installation command (#4170)
As listed `yarn version` doesn't work. According to [Yarn docs](https://classic.yarnpkg.com/en/docs/install#mac-stable), the command to check install should be `yarn --version`.
2021-02-04 01:15:52 +03:00
Sébastien Lorber
ab7951571e
feat(v2): Extract/translate hardcoded labels from classic theme (#4168)
* Translate theme hardcoded strings

* improve test
2021-02-03 20:06:26 +01:00
Sébastien Lorber
823d0fe3c2
fix(v2): ideal image assets should be served under ./assets (#4166) 2021-02-03 15:41:55 +01:00
Yuval Hazaz
24b1695adc
docs(v2): add a note for images not rendered on dev server (#4164)
* Update plugin-ideal-image.md

Add a note that images are not rendered on the development server

* Update plugin-ideal-image.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-02-03 15:38:47 +01:00
Christian Bromann
9fc30b3d5a
docs(v2): Add docusaurus-theme-github-codeblock (#4161) 2021-02-03 12:25:45 +01:00
Alexey Pyltsyn
d25e0f4d0f
fix(v2): fix warning and improve styling inline TOC (#4163) 2021-02-03 12:11:42 +01:00
Alexey Pyltsyn
3f6e04380f
fix(v2): make more accessible skip link (#4162) 2021-02-03 12:06:21 +01:00
Sébastien Lorber
98453ebda0
fix(v2): fix hreflang i18n SEO meta (#4160) 2021-02-03 10:07:03 +01:00
Sébastien Lorber
ffb2d29366
chore(v2): fix build-size bot again (#4159) 2021-02-02 18:46:22 +01:00
Sébastien Lorber
e807bff666
docs(v2): improve bad static assets doc + remove some useless useBaseUrl usage (#4158) 2021-02-02 18:26:51 +01:00
Alexey Pyltsyn
f5494af21c
fix(v2): add base url to opensearch.xml (#4154)
* fix(v2): add base url to opensearch.xml

* Apply suggestions from code review

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

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-02-02 18:09:46 +01:00
Sébastien Lorber
fe6b841642
chore(v2): fix build size bot monitoring of js/css assets (#4156)
* fix build-size bot monitoring

* fix build-size bot monitoring
2021-02-02 16:57:37 +01:00
Sébastien Lorber
3b64aa6107
fix(v2): BaseUrl issue banner insertion should be prevented if JS can load (#4155)
* restore useBannerRemover

* fix BaseUrlIssueBanner issues
2021-02-02 16:43:25 +01:00
Alexey Pyltsyn
d22039c200
chore(v2): upgrade dependencies (#4148)
* chore(v2): upgrade dependencies

* Update docs

* Revert `execa`

* Revert sitemap
2021-02-02 14:37:45 +01:00
Alexey Pyltsyn
fd17476c3d
fix(v2): avoid misuse section tag in blog posts (#4147) 2021-02-01 18:15:41 +01:00
Alexey Pyltsyn
09284187f1
fix(v2): use current color for language icon (#4146) 2021-02-01 16:24:11 +01:00
Nahiyan Kamal
6f4aad7f78
docs(v2): community docs typo fix (#4144) 2021-02-01 12:03:37 +01:00
Nahiyan Kamal
f0f3de8008
docs(v2): guide docs typo fix (#4143) 2021-02-01 12:02:59 +01:00
Nahiyan Kamal
219a4b7b8c
docs(v2): plugins docs typo fix (#4141) 2021-02-01 12:01:56 +01:00
Alexey Pyltsyn
d801ce50f2
fix(v2): escape apostrophe in route paths (#4137) 2021-02-01 11:30:43 +01:00
Sergio Moreno
98910656c4
docs(v2): Add Rematch site to showcase page (#4139) 2021-02-01 10:56:36 +01:00
Nahiyan Kamal
aed23e2db5
docs(v2): remove unnecessary link from docs that looks like a duplicate (#4128) 2021-02-01 10:53:55 +01:00