Commit Graph

2373 Commits

Author SHA1 Message Date
Joshua Chen ef937e402c
fix test 2022-06-11 18:08:57 +08:00
Joshua Chen 2da34337a6
feat: report orphan pages 2022-06-11 17:35:57 +08:00
Joshua Chen ec8230b7ba
chore: upgrade dependencies (#7596) 2022-06-11 11:51:09 +08:00
dht 5c9e4a2dcd
docs: make localhost links clickable (#7582)
* docs: clickable localhost links

* revert changes in auto-generated examples folder

Co-authored-by: dht <dht@users.noreply.github.com>
2022-06-08 14:33:50 +08:00
Joshua Chen 7869e74fd7
refactor(pwa): simplify registerSW code, fix ESLint errors (#7579) 2022-06-07 21:42:17 +08:00
Joshua Chen f8163ff2ee
fix(theme-translations): improve zh translation (#7570) 2022-06-05 22:42:22 +08:00
Joshua Chen 90d2de6baf
chore: upgrade dependencies (#7560)
* chore: upgrade dependencies

* fix
2022-06-04 21:05:53 +08:00
Le Thi Van 5444a230cf
feat: allow specifying custom target for FooterLogo (#7557)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-06-03 17:28:27 +02:00
Sébastien Lorber 9d0bf2e090
feat: add admonition type title translations (#7556)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-06-03 16:40:02 +02:00
Alexey Pyltsyn 5746c58f41
refactor: handle all admonitions via JSX component (#7152)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-03 14:26:33 +02:00
Sébastien Lorber 17fe43ecc8
fix(theme-classic): code block wrap mode should allow wrapping in the middle of a word (#7551) 2022-06-02 17:40:42 +02:00
Joshua Chen abe5450526
feat(core): allow customizing the i18n directory path (#7386)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-02 17:37:14 +02:00
dpang314 b215ad0e1b
fix(theme-classic): inconsistent code block wrapping (#7485)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-02 15:56:54 +02:00
Sébastien Lorber 7dd822becb
chore: use npx --yes (#7549) 2022-06-02 15:07:28 +02:00
Lane Goolsby 1efcfc4671
feat(analytics): allow query/hash changes to be sent to GA (#7545)
Co-authored-by: Lane Goolsby <lanegoolsby@rocketmortgage.com>
2022-06-02 12:47:52 +02:00
JP f25ee0cbf5
feat(live-codeblock): add support for noInline to interactive code blocks (#7514)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-06-02 10:34:20 +02:00
Sébastien Lorber 6afc902672
chore: update static-site-generator-webpack-plugin (#7547) 2022-06-02 10:09:00 +02:00
dpang314 4f26a1911a
feat(content-docs): last_update front matter (#7461)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-01 16:27:58 +02:00
John Reilly 338b819abc
feat: add engines field to templates' package.json (#7520) 2022-06-01 13:34:34 +02:00
Joshua Chen 9023b7740c
refactor: remove sub-eslintrc, fix more lint errors (#7530) 2022-05-30 14:49:51 +08:00
Joshua Chen f443e992b9
refactor: mark toc in loaded MDX as non-optional (#7524) 2022-05-29 22:36:41 +08:00
Joshua Chen 8b1acb50d1
fix: make type-checking pass in Yarn PnP (#7521)
* fix: make type-checking pass in Yarn PnP

* fix

* fix?

* fix...

* almost there

* try again

* little fix

* disable
2022-05-28 23:52:05 +08: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
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
Joshua Chen 47a2cca17d
chore: require Node 16.14 (#7501) 2022-05-26 11:44:18 +02: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
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
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
Joshua Chen 9d1a91774a
chore: upgrade dependencies (#7462) 2022-05-22 10:40:50 +08:00