Commit Graph

3261 Commits

Author SHA1 Message Date
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
Sébastien Lorber e72869fc8b
chore(v1): upgrade v1 Crowdin cli + CI config (#4040)
* Upgrade Crowdin cli for v1 site: cli v2->v3 + simplify install through npm instead of .deb

* add netlify.toml in v1 site

* trigger ci

* netlify

* netlify

* netlify
2021-01-13 18:29:41 +01:00
Sébastien Lorber 18002ed573
docs(v1): suggest to use Docusaurus 2 even for non-FB websites (#4038) 2021-01-13 16:13:48 +01:00
Andrew Taft e6a00d4869
docs(v2): Add FlexIt to showcase (#4026)
* Add FlexIt Analytics

Add FlexIt Analytics to showcase

* Add flexit.png
2021-01-12 16:46:20 +01:00
Sébastien Lorber 20b6997ad6
chore(v2): install Crowdin cli through npm package (#4030) 2021-01-12 16:23:25 +01:00
Reece Dunham 66cc7364cd
feat(v2): Allow plugins to consume webpack stats (#4021)
* refactor(v2): Allow plugins to consume webpack stats

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

* Warn level only

* Fix issue

* Revert start.ts change
2021-01-11 15:34:42 +01:00
Reece Dunham a406a3c9aa
chore(v2): docusaurus-init: switch from inquirer to prompts (#4012)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2021-01-11 15:33:40 +01:00
Kumar Aditya c19c9e5003
chore: add DevContainer config for GitHub codespaces (#4003)
* devops: Docusaurus Dev Container

Signed-off-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

* formatted devcontainer.json

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-01-11 14:54:47 +01:00
Meercode Bot e5373d944e
chore: Add GitHub Actions CI score badge (#4018) 2021-01-11 14:28:16 +01:00
Sean Campbell 2ba55b0f19
fix(v2): fix accessibility issue with IconArrow (#4011) 2021-01-10 14:09:54 +08:00
Joel Marcey 827de9a840
feat: add new policy links to Docusaurus site and FB template (#4019) 2021-01-10 14:07:59 +08:00
Vamsi Krishna Reddy Satti d8ef2a9051
docs: fix typo from 'dissapear' to 'disappear' (#4022) 2021-01-10 13:20:28 +08:00
Sébastien Lorber c4cbe8ec72
chore(v2): prettier fixes (#4005) 2021-01-06 17:07:34 +01:00
Theodore Chu 3ebe9cab68
docs(v2): Add how to run your own DocSearch (#4002) 2021-01-06 16:36:58 +01:00
Sean Campbell 5dfa665281
feat(v2): themed logo in footer (#3993)
* feat: attempt 1 at themedlogo in footer

* Add srcDark to website for temp debug

* typo fix

* Got it now! except for centering

* style: centered new themed image logo

* style: change ThemedImage styleing to center footer logo

* style: Change ThemeImage Style to initial

This was my mistake.

Removed temp `srcDark` footer logo
2021-01-06 16:10:44 +01:00
Nathan Bosscher 8a9dfcf96c
fix(v2): Fix double trailingSlash in sitemap.xml (#4004)
When `trailingSlash` option is enabled, routes that already end in a `/` are shown with double slash at the end.
2021-01-06 15:44:22 +01:00
Massoud Maboudi 89a2ba7732
docs(v2): Add Datagit site to showcase page (#3997)
- add datagit.png to showcase
2021-01-05 16:40:02 +01:00
Kumar Aditya f48d435ce4
feat(v2): Cache hashed assets to dedicated folders (#3998) 2021-01-05 16:31:27 +01:00
Sébastien Lorber 6cb99bfe73
chore(v2): Upgrade crowdin (#4001) 2021-01-05 16:25:36 +01:00
Power Lin 7c597bb4e7
docs(v2): Add wiki-powerto site showcase (#3990)
* Add files via upload

* Update users.js

* Update users.js
2021-01-05 15:07:31 +01:00
Alexey Pyltsyn 5784125f4b
chore(v2): remove docs for alpha v65 (#3995) 2021-01-05 01:17:48 +03:00
Sean Campbell da23912e7b
docs(v2): add overwriting css variables for dark mode (#3991) 2021-01-04 20:00:39 +01:00
Sébastien Lorber d2d2872646
chore(v2): fix date-sensitive test fixture (#3988)
Co-authored-by: 9oelM <hj923@hotmail.com>
2021-01-04 16:50:56 +01:00
BennoDev 6e9ed1cb1a
docs(v2): Add AgileTs site to showcase page (#3987)
* Added AgileTs to users

* Added agilets banner image

* fix img case-sensitive issue

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-01-04 16:48:39 +01:00
Kumar Aditya 0bb5e547b1
feat(v2): skip dependency install on docusaurus init (#3986)
* fix: #3450

Signed-off-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

* test: fix failing test

Signed-off-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2021-01-04 16:17:06 +01:00
Joel M 869e118e4f
feat(v2): better error message for invalid plugin config (#3979)
* test(v2): improve tests on validating plugins

* fix(v2): make schema for plugins stricter

* fix(v2): emit error if valid type of plugin is not found (#3934)
2020-12-31 15:33:24 +01:00