Commit graph

3295 commits

Author SHA1 Message Date
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
LittleboyHarry
22e231904d
feat(v2): improve templates, use JSDoc type annotation, improve docusaurus.config.js autocompletion (#4098)
Co-authored-by: LittleboyHarry <LittleboyHarry@users.noreply.github.com>
2021-01-27 15:34:12 +01:00
Eric Carboni
d5de891a8d
docs(v2): update broken link on resources page (#4106) 2021-01-27 15:14:48 +01:00
Alexey Pyltsyn
e030d34437
chore(v2): remove docs for alpha v66 (#4100) 2021-01-25 17:35:13 +03:00
Sébastien Lorber
869ebe7b53
fix(v2): fix/enhance minor i18n issues reported (#4092)
* fix comment

* allow to pass custom classname in navbar items

* Add IconLanguage comp to dropdown

* do not trim htmlLang

* Add initial hreflang SEO support

* doc hreflang
2021-01-22 21:26:42 +01:00
Sébastien Lorber
8a934ac9b7
docs(v2): Use the TOCInline component in config doc (#4084) 2021-01-21 18:41:52 +01:00
Reece Dunham
a36abd8a84
chore(v2): Update webpack-related dependencies, pre-work to migrate to Webpack 5 (#4081)
* Rebase

* (Post)CSS-Loader fixes

Signed-off-by: Reece Dunham <me@rdil.rocks>

* HMM, mini-css-extract-plugin is being naughty

* Restore HMR
2021-01-21 17:23:12 +01:00
Sergio Moreno
d6d30a39fc
fix(v2): chokidar reloading debounced (#4080) 2021-01-21 11:58:44 +01:00
Sébastien Lorber
a2efe9fda7
chore(v2): fix unstable master yarn.lock (#4077) 2021-01-20 15:38:27 +01:00
Reece Dunham
ca6b5c944f
chore(v2): Update a few dependencies (#4066)
* fix(v2): Update a few dependencies

* fix
2021-01-20 13:42:07 +01:00
Sébastien Lorber
eeb167e244
polish(v2): improve codesandbox template package.json (#4074) 2021-01-20 13:29:45 +01:00
Sébastien Lorber
0a5d3069ee
fix(v2): Fix blog post url/date (#4067) 2021-01-19 20:00:08 +01:00
Sébastien Lorber
581f357885
docs(v2): 2020 recap blog post (#4020)
* Add initial 2020 recap blog post draft

* duplicate blog images to v1

* improve highlight wordings

* improve post

* improve post

* complete 2020 blog post

* complete blog post

* complete blog post

* complete blog post

* Various improvements

* edit the blog post + change the date

* add another interesting blog post

* improve 2020 blog post

* add recap 2020 social card

* missing og image

* improve blog post: add plushie banner + i18n doc link

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-01-19 17:58:20 +01:00
Sébastien Lorber
a8ee7fd3e8
docs(v2): i18n doc + polish (#4014)
* add some initial i18n doc

* i18n doc progress

* i18n tutorial progress

* i18n tutorial progress

* polish Crowdin docs

* i18n sidebar in guides

* polish crowdin doc

* update Crowdin doc a bit

* fix annoying relative link to global site resource in template (breaks i18n tutorial)

* template: use simpler export for homepage

* add markdown page example

* rename mdx.md to interactiveDoc.mdx

* update bootstrap/facebook templates too

* sync init template package scripts

* add slug frontmatter doc

* improve i18n doc

* complete i18n doc

* temporarily enable the localeDropdown

* doc typo

* improve the i18n doc

* Add Git i18n doc

* add missing "--" for npm run options (unfortunately they don't get stripped by npm2yarn, and are required foor npm)

* improve a bit the Crowdin doc
2021-01-19 17:26:31 +01:00
Sean Campbell
af8dc63202
docs(v2): add hideableSidebar option to config demo (#4009)
* docs: add hideableSidebar option to config demo

* Update docusaurus.config.js.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-01-19 17:17:02 +01:00
Sébastien Lorber
c6ce46ac72
chore(v2): Regen codesandbox templates + add template: "docusaurus" (#4063) 2021-01-19 16:13:14 +01:00
sammychinedu2ky
b93d95b9e0
docs(v2): Add codesandbox integration (#4062) 2021-01-19 16:00:07 +01:00
Sébastien Lorber
458bf67484
docs(v2): Include new.docusaurus.io CodeSandbox in issue templates + README (#4058) 2021-01-18 19:40:27 +01:00
Sébastien Lorber
9ea1b1ae30
chore(v2): update codesandbox redirect (#4056)
* Update the codesandbox template url as we have an official template now

* Update the codesandbox template url as we have an official template now
2021-01-18 16:54:06 +01:00