Commit Graph

2351 Commits

Author SHA1 Message Date
sebastienlorber 69ac49fc69 v2.0.0-beta.21 2022-05-27 18:12:16 +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
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 7613ecb9ea
refactor: use TS project references instead of running tsc multiple times (#7437)
* refactor: use TS project references instead of running tsc multiple times

* deduplicate

* dedup

* eliminate --project

* add swc config

* add target
2022-05-17 15:21:44 +08:00
Joshua Chen 1bec5f673a
chore: upgrade dependencies (#7436) 2022-05-17 13:11:20 +08:00
Joshua Chen 7ea59b4e55
refactor(pwa): migrate client modules to TS (#7421) 2022-05-15 12:47:33 +08:00
Joshua Chen 0838884f67
chore: enable import/order rule (#7418) 2022-05-14 23:39:50 +08:00
Joshua Chen c17d745533
refactor(theme-classic): always collocate stylesheets with components in one folder (#7415) 2022-05-14 14:08:10 +08:00
Pranab Das 3f110a36bd
fix(theme-classic): autocollapse sidebar categories when navigating with paginator (#7411)
* fix: autocollapse sidebar categories

Auto collapse sidebar categories when navigating via paginator.

* Add autoCollapseCategories in dependency array

* restore collapse button behavior

* simplify

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

* hopefully a better fix

* refactor

* try this

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-14 13:37:59 +08:00
Joshua Chen d2ca4a171c
refactor(core): properly code-split NotFound page (#7405) 2022-05-12 16:21:28 +08:00
Massoud Maboudi bcf3813dca
chore(theme-translations): complete Farsi translations (#7400) 2022-05-12 10:38:49 +08:00
Joshua Chen d3788bd126
fix(mdx-loader): use React.Fragment as fragment factory (#7392) 2022-05-11 11:02:41 +08:00
Joshua Chen 60960b471d
chore: upgrade dependencies, fix lint-staged not outputting formatted log (#7388)
* chore: upgrade dependencies, fix lint-staged not outputting formatted log

* fix

* fix lock...
2022-05-10 22:42:45 +08:00
Joshua Chen 6e10a48059
fix(content-docs): restore functionality when a category only has index page (#7385)
* fix(content-docs): restore functionality when a category only has index page

* use this internally
2022-05-10 14:50:43 +08:00
Joshua Chen c3880cc342
refactor(create): clean up logic when prompting for unspecified arguments (#7374) 2022-05-08 22:00:28 +08:00