Commit graph

5274 commits

Author SHA1 Message Date
Joshua Chen
ab566ecce3
docs: remove useless front matter (#7518) 2022-05-28 19:07:45 +08:00
Dharsan B
432a8bd3e9
docs: update Kent C. Dodds Twitter avatar (#7512) 2022-05-27 19:19:43 +02:00
Sébastien Lorber
613d938cfc
chore: prepare v2.0.0-beta.21 release (#7513)
* add beta 21 version

* v2.0.0-beta.21

* typo
2022-05-27 18:29:11 +02:00
Charles Korn
1e18f8fd4e
fix: always emit SEO title + og:title meta (#7362)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-05-27 17:55:35 +02:00
Ori Shalom
49ecd8f472
fix(gtag): send the newly rendered page's title instead of the old one's (#7424)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-05-27 16:48:29 +02:00
Joshua Chen
7ab97d4726
feat(sitemap): allow customizing the output name (#7469)
* feat(sitemap): allow customizing the output name

* add docs
2022-05-27 22:30:59 +08:00
Joshua Chen
9398bb2487
chore: upgrade dependencies (#7463)
* chore: upgrade a few loaders, require Node 14.15

* upgrade

* upgrade BPDIN
2022-05-27 20:50:54 +08:00
Joshua Chen
1a5e33c717
refactor(pwa): remove reloadPopup option in favor of swizzling (#7422)
* refactor(pwa): remove reloadPopup option in favor of swizzling

* restore code splitting

* add deprecation
2022-05-27 20:32:22 +08:00
Joshua Chen
be912c698a
feat(core): support docusaurus.config.cjs as default file name (#7371) 2022-05-27 11:11:58 +02:00
James
35e63515e6
feat: make docusaurus serve automatically open in browser (#7500)
* feat: add automatic url open to npm run serve

* fix

* adding ci check

* add docs

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-27 10:45:53 +02:00
Sébastien Lorber
dbd161d67c
fix(create-docusaurus): potential security issue with command injection (#7507) 2022-05-27 10:41:15 +02:00
Junjie
cd7cf781cd
docs: add Junjie to showcase (#7484)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-26 15:52:15 +02:00
Joshua Chen
bac292d84b
docs: document MDXComponents scope (#7503)
* docs: document MDXComponents scope

* address reviews

* add info
2022-05-26 21:50:50 +08:00
Forresst
06a37112bb
chore(theme-translations): complete French translations (#7493) 2022-05-26 15:50:36 +02:00
Joshua Chen
9cf2bf1199
fix(core): always treat error boundary fallback as a callback (#7492)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-05-26 13:05:03 +02:00
Joshua Chen
e955ae472d
fix(theme-classic): allow nested task lists to preserve the indent (#7438)
* fix(theme-classic): allow nested task lists to preserve the indent

* add Ul back
2022-05-26 12:41:23 +02:00
Massoud Maboudi
309a7e8bd4
docs: add Massoud Maboudi's portfolio to showcase (#7412)
* docs: add Massoud Maboudi's portfolio to showcase

* optimize image

* Update website/src/data/users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-05-26 12:38:14 +02:00
Joshua Chen
47a2cca17d
chore: require Node 16.14 (#7501) 2022-05-26 11:44:18 +02:00
James
4f97c7b52c
docs: link every reference of types in API table to the type definition (#7497)
* dogfood fix

* feat: links for plugin types

* better syntax

* little refactor

* use code title

* complete the rest

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-26 15:06:36 +08:00
James
f94701569b
fix: avoid printing period after localhost URL (#7499)
* fix: output of URL

* fix: adding formatting to start.ts
2022-05-26 15:06:22 +08:00
James
89ddc6d258
misc: avoid using fs.realpathSync in website (#7496)
* dogfood fix

* remove other mentions

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-26 13:02:32 +08:00
Joshua Chen
f609acab4f
fix(theme-classic): consistently apply the right active class name for all navbar items (#7430) 2022-05-25 19:01:29 +02:00
Jan Peer Stöcklmair
5fcb742aa1
feat(theme-classic): allow className as option for type: "search" (#7357)
* feat(theme-classic): allow className as option for type: "search"

* fixup! feat(theme-classic): allow className as option for type: "search"

* refactor

Co-authored-by: Jan Peer Stoecklmair <jan.peer.stoecklmair@dynatrace.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-25 18:41:05 +08:00
Joshua Chen
cd21a31005
test: strengthen internal types (#7488) 2022-05-25 15:38:44 +08:00
Joshua Chen
d50fe3b670
test: fix ALL type errors in tests (#7487) 2022-05-25 14:01:10 +08:00
Joshua Chen
e2e40b8f5f
test: fix some type errors in test files (#7486) 2022-05-25 11:46:10 +08:00
Joshua Chen
624735bd92
refactor: fix more type-aware linting errors (#7479) 2022-05-24 19:19:24 +08:00
Joshua Chen
bf1513a3e3
refactor: fix a lot of errors in type-aware linting (#7477) 2022-05-24 15:40:26 +08:00
dependabot[bot]
222bf3c091
chore(deps): bump github/codeql-action from 2.1.10 to 2.1.11 (#7475)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.10 to 2.1.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2f58583a1b...a3a6c128d7)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 10:41:17 +08:00
dependabot[bot]
1db7871446
chore(deps): bump actions/dependency-review-action from 1.0.1 to 1.0.2 (#7476)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](39e692fa32...a9c83d3af6)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 10:41:00 +08:00
Joshua Chen
1d3ed21df8
chore(theme-translations): complete zh translations (#7474) 2022-05-23 20:06:11 +08:00
Joshua Chen
3666a2ede5
refactor: remove a lot of implicit anys (#7468) 2022-05-23 15:40:53 +08:00
Joshua Chen
0c8e57de67
refactor(pwa): migrate sw.js to TS (#7467)
* refactor(pwa): migrate sw.js to TS

* add gitattributes
2022-05-23 14:22:56 +08:00
Joshua Chen
2d94d575a1
refactor: make entire project typecheck with root tsconfig (#7466) 2022-05-23 12:54:25 +08:00
Joshua Chen
89b0fff128
refactor: reduce number of leaked anys (#7465) 2022-05-23 00:30:32 +08:00
Joshua Chen
6e62bba30f
fix(utils): fix Markdown link replacement when link text is same as href (#7464) 2022-05-22 19:13:28 +08:00
Jeremy
5207e25291
docs: add Avana Wallet to showcase (#7460)
* Added Avana Wallet

https://docs.avanawallet.com implements Docusaurus 2.0

* Update users.tsx

* Added Avana Wallet showcase png

* Update users.tsx

* optimize image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-22 12:14:18 +08:00
Joshua Chen
9d1a91774a
chore: upgrade dependencies (#7462) 2022-05-22 10:40:50 +08:00
凱恩Kane
a34b2a2c1c
docs: add Yeecord to showcase (#7459)
* add yeecord to users.tsx

* use English for title, description

* minor tweaks

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-21 16:41:17 +08:00
Joshua Chen
ad888b7fae
fix(utils): avoid replacing Markdown links missing the directly next link (#7458) 2022-05-21 13:07:31 +08:00
Joshua Chen
0f8f918f2c
fix(core): avoid using logger and fs.readJSON in SSR (#7453)
* fix(core): avoid using logger and fs.readJSON in SSR

* ignore prettier
2022-05-20 14:31:53 +08:00
Lane Goolsby
5aaa33fc61
feat: add --no-minify flag to docusaurus start (#7452)
* feat: Adding --no-minify flag to start

* Undoing the changes to old docs

Co-authored-by: Lane Goolsby <lanegoolsby@rocketmortgage.com>
2022-05-20 12:50:17 +08:00
Joshua Chen
ba0d94d02b
chore: normalize naming of admin scripts (#7448) 2022-05-18 21:34:34 +08:00
Joshua Chen
b31220032b
refactor(theme-classic): migrate to tsc for build (#7447)
* refactor(theme-classic): migrate to tsc for build

* fix
2022-05-18 20:08:09 +08:00
Joshua Chen
6b53d4263d
misc: make copyUntypedFiles work for watch mode (#7445) 2022-05-18 19:18:32 +08:00
Joshua Chen
5c3d3cfef1
chore: replace concurrently with npm-run-all (#7444) 2022-05-18 18:24:14 +08:00
Joshua Chen
a555fd1dcb
refactor: make each tsconfig explicitly declare module and include/exclude (#7443) 2022-05-18 12:48:28 +08:00
Joshua Chen
a0b0477dee
refactor(stylelint-copyright): migrate to TS (#7441) 2022-05-17 22:13:47 +08:00
Joshua Chen
71b5901bcd
refactor(cssnano-preset): migrate to TS (#7440)
* refactor(cssnano-preset): migrate to TS

* fix
2022-05-17 21:41:30 +08:00
Joshua Chen
c8b5f230ab
misc: add templates to github-linguist ignore list (#7439) 2022-05-17 20:19:39 +08:00