Commit graph

3347 commits

Author SHA1 Message Date
Sébastien Lorber
db7a3482f4
chore(v2): Fix build size bot (#4248)
* Fix build size bot

* use compression: 'none'
2021-02-19 10:44:06 +01:00
Alexey Pyltsyn
094b51390e
fix(v2): remove PostCSS plugin for combine duplicated selectors (#4240) 2021-02-18 15:45:22 +01:00
Alexey Pyltsyn
1ec2f04108
feat(v2): introduce Seo component for internal usage (#4243) 2021-02-18 15:38:55 +01:00
Alexey Pyltsyn
f13448d5e1
chore(v2): upgrade dependencies + require Node 12 (#4223)
* chore(v2): upgrade dependencies

* Set minimum Node.js version to 12.13

* Fix test

* Upgrade copy-text-to-clipboard

* Bump Node versions

* Update .nvmrc

* mark cacheTime as forbidded field

* Downgrade jest to v25.2.7

* Increase Node version for Windows CI

* Test fix

* Attempt to fix Windows CI

* Downgrade execa

* fix async test errors

* Upgrade execa

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-18 15:12:42 +01:00
Alexey Pyltsyn
02f7722f2e
fix(v2): make doc container full width when hidden sidebar (#4247) 2021-02-18 15:06:04 +01:00
Alexey Pyltsyn
9bd65ddea3
refactor(v2): add Russian translation for classic theme (#4246) 2021-02-18 15:03:02 +03:00
Alexey Pyltsyn
2df5a3bd5d
refactor(v2): use Link component for external links (#4242) 2021-02-18 12:35:29 +01:00
Alexey Pyltsyn
936d6620cf
fix(v2): avoid horizontal scrolling when long lines of code (#4241)
* fix: avoid horizontal scrolling when long lines of code

* Simplify solution
2021-02-18 11:56:11 +01:00
Alexey Pyltsyn
08fa318599
refactor(v2): add more translatable strings (#4219)
* refactor(v2): add more translatable strings

* Apply suggestions from code review

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

* Fixes

* Updates

* Localize direct link to heading

* typo + add french translations

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-18 11:29:51 +01:00
Alexey Pyltsyn
75228c4b8d
refactor(v2): clean-ups and fixes (#4244) 2021-02-18 10:27:39 +01:00
Tien Vo Xuan
5f91f414e0
docs(v2): Replace mbt-bundle by sicope-model (#4237) 2021-02-17 20:04:05 +01:00
Sébastien Lorber
b533847df8
docs(v2): v2 migration should mention RSS feed url change (#4236) 2021-02-17 14:35:29 +01:00
Sébastien Lorber
4ccd9a3952
fix(v2): fix website versions page (#4234) 2021-02-17 15:31:28 +03:00
Sébastien Lorber
7c2b81f5b6
fix(v2): website editUrl should target upstream docs (#4233) 2021-02-17 13:02:11 +01:00
Yash Totale
cf080c72ba
docs(v2): fix npm/yarn command example for swizzling TypeScript theme components (#4230) 2021-02-17 12:28:36 +01:00
Sam Zhou
bb63e093f1
docs(v2): Fix link to slash introduction svg (#4229) 2021-02-17 12:06:58 +01:00
Sébastien Lorber
ae988d0eb9
feat(v2): editUrl functions should receive md doc permalink (#4232) 2021-02-17 11:48:33 +01:00
Juan Carlos Blanco Delgado
2ff5d347ba
docs(v2): Removing wrong parenthesis on image variable (#4226)
* Removing wrong parenthesis on image variable

* Updating markdown feature documenation
2021-02-16 09:28:54 +01:00
琚致远
32d8148fd3
docs(v2): added Apache APISIX (#4225)
* docs: added Apache APISIX

* Add files via upload

* Delete apache-apisix.png

* Add files via upload
2021-02-16 09:04:10 +01:00
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