Commit graph

4821 commits

Author SHA1 Message Date
Joshua Chen
12a7305238
feat: add SEO microdata for doc breadcrumbs (#6697)
* feat: add SEO microdata for doc breadcrumbs

* refactor

* refactor
2022-03-14 08:45:47 +08:00
Bugo
4e4cc0cc17
feat(theme-translations): complete Russian translations (#6781) 2022-03-14 08:44:50 +08:00
Joshua Chen
dc975fecbf
refactor: convert Jest infrastructure to TS (#6910) 2022-03-14 08:43:51 +08:00
Ariful Alam
1305977098
docs: add Reactive Button site to showcase (#6911)
* Add reactive-button.png to showcase

* Add `Reactive Button` to users.tsx

* optimizt image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-14 08:43:39 +08:00
Joshua Chen
009d87cbd9
refactor(content-blog): improve error message of authors map validation (#6909) 2022-03-14 08:16:12 +08:00
Joshua Chen
8c1e518ba2
chore: do not print prototype in jest snapshot (#6908) 2022-03-13 19:34:50 +08:00
Joshua Chen
3a4b9b4c30
refactor: install eslint-plugin-regexp (#6906)
* refactor: install eslint-plugin-regexp

* simplify

* simplify

* fix
2022-03-13 18:32:17 +08:00
Nayan Patel
127183e70e
docs: update image for digital support services (#6904)
* Delete digitalsupportservices.png

* add new image

* Delete digitalsupportservices.png

* Compressed version

* Delete digitalsupportservices.png

* add image correct res

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-13 11:50:56 +08:00
Joshua Chen
d85cee576d
test: improve test coverage; properly test core client APIs (#6905)
* test: improve test coverage

* fix
2022-03-12 23:15:45 +08:00
Joshua Chen
76cb012209
chore: spell-check test files (#6903) 2022-03-12 15:24:56 +08:00
Joshua Chen
f6baaa6b75
test(theme-common): improve test coverage (#6902)
* test(theme-common): improve test coverage

* revert
2022-03-12 13:17:21 +08:00
Joshua Chen
aa5a2d4c04
test: enable a few jest eslint rules (#6900)
* test: enable a few jest eslint rules

* more
2022-03-12 08:43:09 +08:00
Sébastien Lorber
1efc6c6091
refactor(theme-classic): split theme footer into smaller components + swizzle config (#6894)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-11 14:55:53 +01:00
Joshua Chen
c9ee6e467c
refactor: import jest as global; unify import style of some modules (#6898)
* refactor: import jest as global

* fix react
2022-03-11 19:04:27 +08:00
Sébastien Lorber
e97dc0d37e
refactor(theme-classic): split sidebar into smaller parts (#6844)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-10 16:55:30 +01:00
Odarpi
e412d367a0
docs: add EduLinks site to showcase (#6892)
* Add EduLinks to users.tsx and edulinks.png to showcase

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-10 21:16:19 +08:00
Joshua Chen
e08777c9c5
refactor(theme-classic): avoid using clsx class dict with CSS modules (#6891) 2022-03-10 20:49:52 +08:00
Joshua Chen
2648ec090e
docs: editorial fixes (#6889) 2022-03-10 13:43:22 +08:00
Begula
63caeb6073
docs(cli): add info about development on github codespaces (#6883)
* docs: add info about development on github codespaces

* docs: move from installation to cli

* docs: fix grammar

* Update cli.md

* add word

* Update cli.md

* Update cli.md

* format

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-10 11:22:21 +08:00
Joshua Chen
ff0d981853
fix(content-docs): give context about sidebar loading failure (#6887) 2022-03-10 11:21:10 +08:00
Joshua Chen
e842b40a54
fix(theme-algolia): declare content-docs as dependency (#6888) 2022-03-10 11:20:59 +08:00
Sébastien Lorber
e203001758
feat(theme-classic): MDXContent wrapper component (#6842) 2022-03-09 19:38:31 +01:00
Joshua Chen
86861ea0f3
refactor(theme-classic): consistently add span wrapper for layout links (#6846) 2022-03-09 16:41:12 +01:00
Joshua Chen
2a7120cc02
docs: mention configureWebpack devServer return value (#6881) 2022-03-09 20:23:38 +08:00
Joshua Chen
23a34c1a07
refactor: prefer fs.outputFile to ensureDir + writeFile (#6880)
* refactor: prefer fs.outputFile to ensureDir + writeFile

* fix test

* fix
2022-03-09 17:50:33 +08:00
Roberto Vidal
73df485aec
fix(core): ensure stable webpack theme aliases sorting (#6878) 2022-03-09 09:40:47 +08:00
Joshua Chen
99b1fb90d5
chore: upgrade dependencies (#6879) 2022-03-09 07:34:35 +08:00
Ngô Quốc Đạt
d34c8ae694
chore(theme-translations): complete Vietnamese translations (#6877) 2022-03-09 07:18:05 +08:00
Joshua Chen
61290c4374
test(core): improve test coverage (#6876) 2022-03-08 22:10:07 +08:00
Ariful Alam
567b03d63d
docs: add Reddit Image Fetcher site to showcase (#6856)
* Add reddit-image-fetcher.png to showcase

* Add Reddit Image Fetcher to users.tsx

* Update reddit-image-fetcher.png with correct dimension

* optimize image

* Set Reddit Image Fetcher's source as `null` and remove open source tag

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-08 13:42:28 +08:00
moonrailgun
2059e53e5d
docs: update TRPG Engine showcase (#6875) 2022-03-08 12:34:04 +08:00
dependabot[bot]
5869f230b3
chore(deps): bump actions/checkout from 2 to 3 (#6870)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 08:57:15 +08:00
Joshua Chen
5ea76f2376
docs: mark clutch and gulp as opensource (#6871) 2022-03-08 07:34:35 +08:00
Joshua Chen
a4e37c4054
refactor: improve types (#6866) 2022-03-07 22:14:50 +08:00
Joshua Chen
8e934450d8
refactor: remove unnecessary default values normalized during validation (#6864)
* refactor: remove unnecessary default values normalized during validation

* more
2022-03-07 19:23:30 +08:00
Joshua Chen
7fc134ba0e
docs: update showcase data (#6862) 2022-03-07 13:11:30 +08:00
Joshua Chen
44d73f7230
refactor: make JS executables included in the tsconfig for editor hints (#6861)
* refactor: make JS executables included in the tsconfig for editor hints

* oops
2022-03-06 23:07:23 +08:00
tae
a6e72192fa
fix(create): load entry file after node version checking (#6860)
* refactor(create): add exception handling if external command is fails

refers #4870

85e87b560e

* fix(create): load entry file after node version checking
2022-03-06 22:18:38 +08:00
Joshua Chen
5e2168ea22
refactor(lqip-loader): split test files (#6858) 2022-03-06 18:34:04 +08:00
Joshua Chen
f763ac13a9
test: improve test coverage (#6857) 2022-03-06 17:55:21 +08:00
Evan
edb4d00096
docs: update Evan Tay personal site showcase (#6855)
* docs: update evantay showcase image

* docs: update evnatay showcase title

* fix test

* retake photo

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-06 13:59:42 +08:00
Joshua Chen
4db0c620de
refactor: enable a few TS flags (#6852)
* refactor: enable a few TS flags

* refactor

* revert to working version

* fix

* better

* change
2022-03-06 13:09:10 +08:00
Evan
9f925a42bf
fix(core): fix swizzle legend typo (#6854)
* fix(core): fix swizzle legend typo

* Update packages/docusaurus/src/commands/swizzle/tables.ts

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-06 11:05:17 +08:00
tae
2e163a9ec4
feat(content-docs): allow custom props through _category_.json (#6780)
* feat(content-docs): allow custom props through _category_.json

* refactor

* documentation

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-05 18:52:36 +08:00
Joshua Chen
b2d6e453e3
fix(core): make plugin lifecycles consistently bound to the plugin instance (#6850) 2022-03-05 17:57:10 +08:00
Joshua Chen
a756ddb7e1
fix(cli): write-heading-id should not generate colliding slugs when not overwriting (#6849) 2022-03-05 17:25:47 +08:00
Tsz W. TAM
027e8f506b
fix: minor Chinese translation fixes (#6847)
Before: {count} 篇文件帶有標籤 篇帶有標籤「{tagName}」
After: {count} 篇文件帶有標籤「{tagName}」
2022-03-05 15:51:59 +08:00
Joshua Chen
4e6166f326
misc(test): make E2E test use stable Yarn berry (#6848) 2022-03-05 15:00:06 +08:00
Sébastien Lorber
3e38380b69
fix(website): changelog plugin leads to CI bugs on release (#6838) 2022-03-04 10:58:54 +01:00
seladb
52fa4514f7
docs: add PcapPlusPlus to showcase (#6837)
* Add PcapPlusPlus to users.tsx

* Add PcapPlusPlus preview

* optimize image

* retake picture

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-04 17:24:56 +08:00