Commit graph

239 commits

Author SHA1 Message Date
Joshua Chen
e8a07633ba
chore: upgrade dependencies (#8534)
* chore: upgrade dependencies

* FIxes

* Bump again
2023-01-10 13:23:16 -05:00
Sam Wall
9c92a79d23
feat: support mermaid code blocks in Markdown (#7490)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-14 18:07:20 +02:00
John Reilly
1ca4fb50fe
feat(core): siteConfig.headTags API to render extra tags in document head (#8151)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-10-12 17:45:56 +02:00
Sébastien Lorber
ad15605545
feat(theme-classic): use lang attribute in navbar locale dropdown items (#7942) 2022-08-12 12:33:53 +02:00
Sébastien Lorber
b7ea00a917
chore: bump main to 3.0.0-alpha.0 (#7923) 2022-08-08 19:13:49 +02:00
Joshua Chen
1bf5c0d36e
chore: upgrade dependencies (#7883) 2022-08-02 16:44:02 +08:00
Sébastien Lorber
965a01e589
chore: port-2.0.0-rc.1 (#7782) 2022-07-14 19:30:17 +02:00
Sébastien Lorber
f0f97f29f9
chore: prepare v2.0.0-beta.22 release (#7741) 2022-07-08 18:34:05 +02:00
Sébastien Lorber
713dcdf7a8
refactor(types): split into multiple files (#7710) 2022-07-06 18:00:57 +02:00
Joshua Chen
bfba6a8b02
refactor: remove "error" reporting level, move reportMessage to logger (#7642) 2022-06-17 14:51:00 +02:00
Joshua Chen
1b9bec1042
feat: allow customizing localization path of each locale (#7624) 2022-06-17 11:07:35 +02:00
Joshua Chen
b4d93b9bd0
chore: upgrade to TS 4.7, compile with NodeNext (#7586)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-15 19:15:11 +02:00
Joshua Chen
90d2de6baf
chore: upgrade dependencies (#7560)
* chore: upgrade dependencies

* fix
2022-06-04 21:05:53 +08: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
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
Joshua Chen
3666a2ede5
refactor: remove a lot of implicit anys (#7468) 2022-05-23 15:40:53 +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
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
Romain Dejoux
e32ff04d93
fix(types): declare missing peerDependencies 2022-05-06 17:12:04 +08:00
Sébastien Lorber
26df8c83ce
chore: prepare v2.0.0-beta.20 release (#7347) 2022-05-05 20:26:48 +02:00
Alexey Pyltsyn
6fa51890f0
chore: prepare v2.0.0-beta.19 release (#7325)
* chore: prepare v2.0.0-beta.19 release

* v2.0.0-beta.19
2022-05-04 18:38:45 +03:00
Joshua Chen
b1cafe73df
refactor: remove long-deprecated routesLoaded lifecycle (#7257) 2022-05-04 12:32:49 +02:00
Joshua Chen
b49ae67521
refactor(types): move non-core, non-public types out of the types package (#7293) 2022-05-03 17:15:48 +08:00
Joshua Chen
c7a5af7c4d
refactor(core): collocate CLI commands and their option types (#7292)
* refactor(core): collocate CLI commands and their option types

* fixes
2022-05-03 15:32:12 +08:00
Joshua Chen
5bed55aeda
refactor(types): JSDoc for docusaurus config fields (#7291) 2022-05-03 13:57:19 +08:00
Joshua Chen
ae788c536f
feat(core): rework client modules lifecycles, officially make API public (#6732) 2022-04-29 15:11:20 +02:00
Joshua Chen
b154318c28
chore: upgrade dependencies (#7193) 2022-04-17 17:32:41 +08:00
Joshua Chen
fa1ce230ea
refactor: capitalize comments (#7188)
* refactor: capitalize comments

* revert...
2022-04-17 16:39:11 +08:00
Joshua Chen
03516dc3a7
fix(sitemap): exclude pages with robots noindex from sitemap (#7143) 2022-04-14 11:31:09 +02:00
Joshua Chen
2a7820582c
chore: upgrade dependencies (#7138)
* chore: upgrade dependencies

* reorg

* update comment
2022-04-09 12:36:10 +08:00
Joshua Chen
7941a46be3
feat: allow setting calendar for i18n date formatting (#6430)
* feat: allow setting calendar for i18n date formatting

* fix TS

* add test
2022-04-08 22:34:34 +08:00
Joshua Chen
171927342f
feat(core): fail-safe global data fetching (#7083) 2022-04-08 11:08:22 +02:00
Joshua Chen
0a3aad618e
feat(core): allow plugins to declare custom route context (#7082) 2022-04-07 18:38:33 +02:00
Joshua Chen
1156be3f20
refactor(content-{blog,docs}): unify handling of tags (#7117) 2022-04-07 15:58:21 +02:00
Joshua Chen
f9c0a5a6d5
feat(core): allow plugin/preset config to contain false/null (#7124) 2022-04-07 15:27:20 +02:00
Joshua Chen
c7c0ee4e7c
chore: upgrade dependencies (#7101) 2022-04-02 08:32:26 +08:00
Joshua Chen
898611d4ad
refactor(core): code cleanup (#7084) 2022-04-01 13:41:39 +08:00
Joshua Chen
24c205a835
refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080)
* refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type

* fix
2022-03-31 19:16:07 +08:00
Joshua Chen
ce2b631455
fix(create): install types for JS template as well (#7078) 2022-03-31 15:49:07 +08:00
Joshua Chen
3f33e90704
chore: upgrade dependencies (#7065)
* chore: upgrade dependencies

* fix project words
2022-03-30 11:05:50 +08:00
Joshua Chen
77662260f8
refactor(core): refactor routes generation logic (#7054)
* refactor(core): refactor routes generation logic

* fixes
2022-03-29 16:37:29 +08:00
Joshua Chen
5fb09a2946
refactor(core): reorganize files (#7042)
* refactor(core): reorganize files

* fix types
2022-03-28 21:49:37 +08:00
Joshua Chen
c81d21a641
refactor: minor type improvements (#7035) 2022-03-28 11:15:37 +08:00
sulu5890
72f005e852
fix(types): declare history and react-loadable as dependencies (#7014)
* fix(types): declare history and react-loadable as dependencies

* fix(types): downgrade history to 4.9.0 to match react-router

* add @docusaurus/react-loadable such that it can be correctly resolved
2022-03-26 14:28:49 +08:00
Sébastien Lorber
73deaa8bf6
chore: prepare v2.0.0-beta.18 release (#7001) 2022-03-25 16:16:38 +01:00
Joshua Chen
87592bca03
refactor: ensure all types are using index signature instead of Record (#6995)
* refactor: ensure all types are using index signature instead of Record

* kick CI
2022-03-25 18:06:30 +08:00
Joshua Chen
6e2eb44964
refactor: unify how validateOptions is handled (#6961)
* refactor: unify how validateOptions is handled

* fix types

* fix again
2022-03-22 19:40:56 +08:00
Joshua Chen
44107fb879
chore(types): remove querystring from dependencies (#6957)
* chore(types): remove querystring from dependencies

* fix lock
2022-03-22 16:00:05 +08:00
Sébastien Lorber
8a1421a938
feat(core,theme): useRouteContext + HtmlClassNameProvider (#6933)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-18 10:57:32 +01:00