Commit graph

3486 commits

Author SHA1 Message Date
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
Sébastien Lorber
83c5e2ae34
feat(v2): new.docusaurus.io -> CodeSandbox 2021-01-17 19:12:29 +01:00
Ivan Ružević
bb925a6fc8
docs(v2): Add Eightshift Docs site to showcase page (#4053) 2021-01-16 12:51:41 +08:00
Tomas Fernandez
13bfe8dbc9
docs(v1): Docker: remind the user to use the --host flag (#4048)
* Update getting-started-docker.md to remind the user to use the --host flag

Currently this part of the docs doesn't remind the user to use the --host flag. If the user doesn't use it, then the website will not be accessible outside of the docker container. This is what the user ultimately wants, to avoid using node and ruby and develop/productivize his website in a container.

* Upper case correction

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

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-01-15 19:16:47 +01:00
Sébastien Lorber
0a75ed5d49
docs(v1): version page should recommend v2 (bis) (#4049)
* Update siteConfig.js

* Update siteConfig.js

* update the versions page

* update the versions page

* Update website-1.x/pages/en/versions.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>

* update the versions page

* update versions page

* update versions page

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2021-01-14 17:58:42 +01:00
Sébastien Lorber
0f49192a9a
docs(v1): version page should recommend v2 (#4047)
* Update siteConfig.js

* Update siteConfig.js

* update the versions page

* update the versions page

* Update website-1.x/pages/en/versions.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2021-01-14 17:30:54 +01:00
Reece Dunham
0252d01ebb
docs(v2): Add READMEs to v2 packages (#4034)
* docs(v2): Add READMEs to v2 packages

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

* Update packages/docusaurus-remark-plugin-npm2yarn/package.json

* Update packages/docusaurus/README.md

* Update packages/docusaurus-plugin-sitemap/README.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-01-14 17:16:26 +01:00
Eduardo Lázaro
c94b44559c
docs(v2): add sciwp to showcase (#4046) 2021-01-14 16:54:50 +01:00
Miroiu Emanuel
240233629a
docs(v2): Add Nodify to showcase (#4036)
* Add Nodify to showcase

* Add Nodify to showcase

* Update users.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2021-01-14 10:03:45 +01:00
Sébastien Lorber
f1039cf392
chore(v1): revert v1 netlify.toml (#4041)
* netlify

* fix typo

* add french to Netlify deploy preview for v1 site
2021-01-13 19:02:44 +01:00