Commit graph

4534 commits

Author SHA1 Message Date
Sébastien Lorber
5dc1cdf987
fix(website): fix yarn build:website:fast (#6122) 2021-12-17 12:30:06 +01:00
Joshua Chen
f84eb073e7
docs: mention that SEO through front matter is better than head tag (#6112) 2021-12-17 12:29:51 +01:00
Joshua Chen
77c93cbda6
misc: ignore some files during npm publish (#6092) 2021-12-17 11:38:26 +01:00
Alexey Pyltsyn
6ab4efe3a6
refactor: remove some useless code (#6118) 2021-12-17 15:41:02 +08:00
Joshua Chen
7db4884853
refactor(website): make deploy preview open next version docs by default (#6120)
* refactor(website): make deploy preview open next version docs by default

* Fix links
2021-12-17 11:00:12 +08:00
Joshua Chen
0c2765fb74
fix(create-docusaurus): make initial editUrl functional (#6119) 2021-12-17 10:47:58 +08:00
Ziv
16ce797551
docs: add Molecule website to showcase (#6111)
* docs: add Molecule website to showcase

* Update website/src/data/users.tsx

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

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-12-16 21:33:43 +08:00
Sébastien Lorber
fc0df304c0
feat(core): allow plugins to customize/override Webpack devServer config (#6107) 2021-12-16 12:02:29 +01:00
Joshua Chen
649f18d304
fix(create-docusaurus): give a clearer message when installation failed (#6095) 2021-12-15 18:03:38 +01:00
Kristoffer K
b48c6defae
fix: declare missing dependencies (#6097)
* fix(utils-validation): add missing peer dependencies `react` and `react-dom`

* fix(theme-classic): add missing peer dependency `@docusaurus/core`

* ci: disable PnP fallbacks

* ci: link to the docs

* Update package.json

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-13 09:47:07 +08:00
Harsh Mishra
5fb64041c0
docs: add Enarx website to showcase (#6089) 2021-12-11 21:54:20 +08:00
Joshua Chen
e57929c114
chore: add missing dependencies on tslib (#6094) 2021-12-11 18:18:25 +08:00
Jeroen Claassens
d7a595d3e0
docs: add sapphire to showcase (#6090)
* feat(users): add sapphire to docusaurus users

* chore: regen sapphire image

* Update website/src/data/users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-11 11:17:34 +08:00
Jeroen Claassens
2cc3322c70
docs(showcase): "much more pages" => "many more pages" (#6091) 2021-12-11 11:17:04 +08:00
Sébastien Lorber
8265e165b7
fix(theme-translations): publish theme-translation lib, including typedef (#6088) 2021-12-10 19:09:56 +01:00
Sébastien Lorber
fd2934d10d
getMainDocId should return doc with both versioned or unversioned id (#6085) 2021-12-10 09:35:57 -08:00
Sébastien Lorber
ae9a12ff50
chore(v2): prepare v2.0.0-beta.13 release (#6084) 2021-12-10 16:56:00 +01:00
Joshua Chen
4809a1aab1
chore: add NPM and PNPM to E2E tests (#6080)
* chore: add NPM and PNPM to E2E tests

* Align node versions

* Install PNPM

* Fix options

Maybe fix

Fix
2021-12-10 22:04:05 +08:00
Sébastien Lorber
991c1b2832
chore(v2): prepare v2.0.0-beta.11 release (#6081) 2021-12-10 14:13:25 +01:00
Pranab Das
fbf04ed556
fix: move docusaurus core back to hard dependencies (#6078)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-10 11:05:21 +01:00
Sébastien Lorber
43ac7d5da9
chore(v2): prepare v2.0.0-beta.10 release (#6076) 2021-12-09 13:32:23 +01:00
Joshua Chen
fd966b5395
refactor: add blank lines below all copyright headers (#6071) 2021-12-09 11:53:46 +08:00
Robin Métral
9433dcbe60
fix(theme-classic): make nav dropdowns focusable (#6003)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-08 18:50:39 +01:00
Sébastien Lorber
f5a404b877
fix(theme-common): useLocationChange fire un-necessarily twice (#6070) 2021-12-08 16:38:34 +01:00
Soham Shah
3394f7e91f
docs: add moja global to showcase (#6063)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-08 14:51:32 +01:00
Joshua Chen
e07ebadf6c
fix: make Docusaurus PnP strict mode compatible (#6047)
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2021-12-08 14:26:24 +01:00
Alexey Pyltsyn
68b75bf855
refactor: capitalize locales when creating i18n config (#6048)
* refactor: capitalize locales when creating i18n config

* Switch to toLocaleUpperCase method

* Update packages/docusaurus/src/server/i18n.ts

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-08 21:04:28 +08:00
Joshua Chen
35d3c02357
docs: update CONTRIBUTING for website (#6069)
* docs: update CONTRIBUTING for website

* Remove id

* Fix link
2021-12-08 20:24:44 +08:00
Joshua Chen
59f81e6490
fix(core): fix error boundary import disrupting CSS order (#6052) 2021-12-08 11:13:43 +01:00
Yongmin Hong
813300b9fe
feat(theme-translations): add extra Korean translation, fix typo (#5976)
* Add extra Korean translation, fix typo

Signed-off-by: Yongmin Hong <revi@pobox.com>

* Add missing translations, per John-Cena's guidance

Resolves most comments, more fix.

Signed-off-by: Yongmin Hong <revi@pobox.com>

* Cleanup rebase and add one more translation

add the missing bit.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-12-08 09:38:09 +08:00
Joshua Chen
8644097ab7
fix(content-blog): make post ID unique (#6061)
* fix(content-blog): make post ID unique

* Fixes
2021-12-08 09:28:17 +08:00
Joshua Chen
d5d10f5656
chore: add prefix to needs triage label; separate Windows test workflow (#6068)
* chore: add status prefix to needs triage label

* Separate Windows workflow
2021-12-08 09:23:47 +08:00
Joshua Chen
b4ec7ec011
refactor(core): fix types for client code (#6064) 2021-12-07 19:58:36 +01:00
Alexey Pyltsyn
f96a051fbe
refactor: remove deprecated docs homePageId option (#6065) 2021-12-07 19:48:30 +01:00
Soham Shah
c64987e2c8
refactor(website): improve wording in comments of showcase data (#6062)
* typo in comments

* Update website/src/data/users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-07 20:11:46 +08:00
Joshua Chen
7c43569468
chore(theme-translations): complete Chinese translations (#6060) 2021-12-07 19:15:16 +08:00
Alexey Pyltsyn
283166c211
refactor: remove unused metadata field for homepage (#6056) 2021-12-06 12:28:35 +08:00
Joshua Chen
fb6393fdce
chore: clean up dev dependency declarations (#6055)
* chore: clean up dev dependency declarations

* Fix prettier version
2021-12-05 23:07:34 +08:00
Alexey Pyltsyn
58720c93e8
refactor: simplify Toggle component (#6049) 2021-12-05 09:31:57 +08:00
Shoaib Sajid
866babb6ad
docs: add "discord resources" to showcase (#6045)
* Update users.tsx

Added Discord Resources website

* Add files via upload

* Update users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-04 16:18:03 +08:00
Joshua Chen
fcaa94695d
fix(core): do not apply theme-init alias to user component (#5983)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-03 18:59:45 +01:00
Fernando Maia
b366ba5603
feat: shorthands for themes/plugins/presets configuration (#5930)
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-03 18:23:12 +01:00
Joshua Chen
bfd7fd9d8a
refactor: minor ESLint improvements (#5981)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-03 17:38:29 +01:00
Sébastien Lorber
cfae5d0933
feat(content-docs): sidebar category linking to document or auto-generated index page (#5830)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Armano <armano2@users.noreply.github.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2021-12-03 14:44:59 +01:00
Sébastien Lorber
95f911efef
fix(v2): Browser storage (localStorage) is unreliable: api should fail-safe (#6040) 2021-12-02 19:33:03 +01:00
Joshua Chen
373eda272e
docs(deployment): add cost-benefit analysis with different options (#6026) 2021-12-02 18:29:13 +01:00
Joshua Chen
40e4ce0e68
chore: upgrade prettier; rename prettier scripts as format (#6010) 2021-12-01 12:33:22 +01:00
Joshua Chen
33de0cdf99
chore: upgrade netlify-cli (#6031) 2021-11-30 10:02:31 +08:00
Rohit Agrawal
3c54ed2807
docs: add Pearl UI website to showcase (#5955)
* chore: Add Pearl UI website to showcase

* Update users.tsx

* Update users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-11-30 07:06:44 +08:00
Ludovico Fischer
5678911555
chore: update @svgr/webpack to version 6 (#5958)
* chore: update @svgr/webpack to version 6

* svgr changelog https://github.com/gregberge/svgr/releases
* SVGO 2 changelog https://github.com/svg/svgo/releases/tag/v2.0.0
* depend on maintained svgo version
* although svgr 6 is in alpha, it fixes a few issues
  with webpack 5 (https://github.com/gregberge/svgr/commit/1a8cc98)
  and React (https://github.com/gregberge/svgr/commit/3700aba)
* see also https://github.com/facebook/docusaurus/pull/5703

* Fix config

* fix e2e test

* Fix again

* Update to stable

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-29 15:12:18 +08:00