Commit graph

3863 commits

Author SHA1 Message Date
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
TaeSeong Park
e53d63b769
docs(v2): Fix file path in "Wrapper your site with <Root>" (website/docs/using-themes.md) 2021-02-01 10:52:22 +01:00
Alexey Pyltsyn
39edfe35aa
fix(v2): fix navigation from homepage (#4136) 2021-02-01 00:29:49 +03:00
Nahiyan Kamal
30c8e26a31
docs(v2): typo of Word Process (#4129) 2021-01-31 22:40:45 +03:00
Nahiyan Kamal
0c80fa824c
fix(v2): remove unnecessary brace from installation doc (#4127) 2021-01-31 22:39:55 +03:00
Nahiyan Kamal
6b194c6149
docs(v2): typo in i18n docs (#4130) 2021-01-31 22:38:44 +03:00
Sébastien Lorber
140bfbfd90
docs(v2): do not recommend using useBaseUrl() hook in most cases (#4126)
* doc: suggest not using useBaseUrl most of the time

* doc: suggest not using useBaseUrl most of the time
2021-01-29 19:10:38 +01:00
Sébastien Lorber
9c4bf4e138
fix(v2): baseUrl help banner should not be indexed by Google / SEO (#4125) 2021-01-29 18:00:13 +01:00
Sébastien Lorber
be7b5dca78
feat(v2): editUrl function for advanced use-cases (#4121)
* EditUrl function

* normalize blog/docs regarding the editUrl feature + editUrl function

* editUrl fn => always inject posix style relative paths, make tests more reliable
(see also https://github.com/facebook/docusaurus/issues/4124)

* fix editUrl on windows
2021-01-29 15:35:25 +01:00
Reece Dunham
15c50e2ecb
chore(v2): Update workbox to v6 (#4120) 2021-01-29 15:34:31 +01:00
Sébastien Lorber
3031c47c3b
fix(v2): navbar dropdown subitems should be translated properly(#4118) 2021-01-28 18:22:36 +01:00
Sébastien Lorber
671748f065
docs(v2): Do not encourage using the permalink prop (#4112) 2021-01-28 10:33:43 +01:00
Sébastien Lorber
beddecb27b
feat(v2): default canonical urls (#4109) 2021-01-28 10:16:42 +01:00
Welly
6917eb950c
feat(v2): supports string type for the Layout's keywords props (#4090)
* feat(v2): support string type for the keywords props

* Update the type definition of Layout
2021-01-27 17:42:22 +01:00
Reece Dunham
95f81d2a44
refactor(v2): Switch from inquirer to prompts (#4091)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2021-01-27 16:53:43 +01:00
Arthur
b49ff32417
style(v2): add className to tab container (#4086)
* Add: className to tab container

* Update: single dash
2021-01-27 16:18:58 +01:00