Commit graph

4272 commits

Author SHA1 Message Date
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
Joshua Chen
0e6ec24aa3
misc: update CONTRIBUTING to reflect status quo (#5989)
* misc: update CONTRIBUTING to reflect status quo

* One more line

* Add links
2021-11-27 16:24:41 +08:00
William Poetra Yoga
30cf744544
docs(admin): update repo testing instructions to reflect v2 (#5845)
* docs: add some details (trivial)

* docs: add easier method (using yarn) to test local repo

* docs: add additional note

* Edits

* Update

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-27 16:21:48 +08:00
Rey
78537aab2a
docs: update Netlify url config option in deployment instructions (#6019)
Netlify now provides `*.netlify.app` subdomains instead of `*.netlify.com` for project sites. Redirects still work, so the current config option isn't wrong but it's a good idea to keep the docs up to date.
2021-11-27 13:34:32 +08:00
Sharon Koech
43f13474bc
docs: add Tremor website to showcase page (#6015)
* Add Tremor Website to Docusaurus Showcase Page

Signed-off-by: Sharon Koech <sharonkoech5147@gmail.com>

* Update Source URL

Signed-off-by: Sharon Koech <sharonkoech5147@gmail.com>

* update preview image with entire homepage capture

Signed-off-by: Sharon Koech <sharonkoech5147@gmail.com>
2021-11-27 08:36:23 +08:00
Joshua Chen
3334bfb4fa
chore(website): enable strict compiler option (#6012) 2021-11-26 18:14:35 +08:00
Alexey Pyltsyn
d25bf24753
refactor(website): various fixes and improvements on Showcase page (#5997)
* refactor(website): add various fixes and improvements on Showcase page

* Maintain previous focused element (WIP)

* Fix SSR

* Fix again

* Final fix

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-26 17:45:59 +08:00
Can Olcer
8359ff36cd
docs: improve algolia integration instructions (#6008)
* docs: improve algolia integration instructions

The current version makes it look like you need to install `@docusaurus/theme-search-algolia` on top the classic version to work, but it already works with the classic version. Adding `@docusaurus/theme-search-algolia` on top leads to errors.

* Still document installation

* Do not make separate paragraph

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-25 20:03:32 +08:00
Martin Šošić
b1a4f3913d
docs: improve explanation for url config in GH Pages (#6006) 2021-11-25 16:50:34 +08:00
Hendrik Bulens
c916d8a49a
docs: add Dime.Scheduler SDK to showcase (#6001)
* Add Dime.Scheduler SDK to showcase page

* Add source URL to showcase

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-24 18:42:36 +08:00
Joshua Chen
057e3f34da
chore(ci): add GitHub action for showcase testing (#6002) 2021-11-24 18:25:49 +08:00
Alexey Pyltsyn
b31044dc8a
chore: upgrade webpack-dev-server to v4.5.0 (#5998)
* chore: upgrade webpack-dev-server to v4.5.0

* Fixes after review

* remove type assertion

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-24 17:41:34 +08:00
Jarar
48fff3e66c
fix: make hash link in heading not selectable (#6000) 2021-11-24 17:17:29 +08:00