Dongjoon Lee
e553ce7e59
fix(docusaurus-utils-validation): baseUrl + routeBasePath: allow empty string, normalized as "/" ( #8258 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
fix https://github.com/facebook/docusaurus/issues/8254
2022-12-08 16:54:32 +01:00
John Reilly
79214670a9
fix(content-blog): blog Atom feed id + RSS feed guid should be fully qualified urls ( #8381 )
...
Closes https://github.com/facebook/docusaurus/issues/8380
2022-11-30 13:56:21 +01:00
Jody Heavener
683ba3d2a0
feat(docs,blog,pages): add support for "unlisted" front matter - hide md content in production ( #8004 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-11-03 14:31:41 +01: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
Joshua Chen
275f509d13
chore: upgrade dependencies ( #7993 )
...
* chore: upgrade dependencies
* Fix lint
* Bump more
* Fix lint
2022-09-08 01:31:53 -04:00
Sébastien Lorber
c3ff131110
refactor(theme): split BlogPostItem into smaller theme subcomponents ( #7716 )
2022-07-08 13:28:53 +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
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
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
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
89b0fff128
refactor: reduce number of leaked anys ( #7465 )
2022-05-23 00:30:32 +08:00
Joshua Chen
0838884f67
chore: enable import/order rule ( #7418 )
2022-05-14 23:39:50 +08:00
Joshua Chen
7c9892888d
refactor: normalize error logging ( #7370 )
2022-05-08 13:40:34 +08:00
Joshua Chen
a2c993bf9a
fix(*): make TypeScript realize that each plugin package has a default export ( #7294 )
2022-05-03 18:23:34 +08: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
AkiraVoid
71ba449a28
fix(content-blog): make footnote reference DOM ID unique on post listing page ( #7212 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-21 16:51:24 +02:00
Joshua Chen
7f06857e46
fix: fix a lot of declaration semantic errors ( #7194 )
2022-04-17 23:44:20 +08:00
Joshua Chen
fa1ce230ea
refactor: capitalize comments ( #7188 )
...
* refactor: capitalize comments
* revert...
2022-04-17 16:39:11 +08:00
Joshua Chen
7a61eed3dd
refactor: unify how MDX content types are represented ( #7145 )
...
* refactor: unify how MDX content types are represented
* fix
* fix again
2022-04-10 19:19:44 +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
9145ae88cc
chore: disable string escaping in snapshots ( #7131 )
2022-04-08 11:23:19 +08:00
Joshua Chen
1156be3f20
refactor(content-{blog,docs}): unify handling of tags ( #7117 )
2022-04-07 15:58:21 +02: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
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
2bcac29cd4
refactor(content-docs): deduplicate types, JSDoc for some APIs ( #7027 )
...
* refactor(content-docs): deduplicate types, JSDoc for some APIs
* little refactor
2022-03-27 12:57:15 +08:00
Joshua Chen
4957ec947b
refactor: fix a few places of path handling ( #7023 )
2022-03-26 22:49:50 +08: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
2eeb0e46a2
feat(utils): JSDoc for all APIs ( #6980 )
...
* feat(utils): JSDoc for all APIs
* fix tests
2022-03-24 21:34:31 +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
4536c20455
fix(content-blog): only create archive route if there are blog posts ( #6947 )
2022-03-21 12:27:56 +08:00
Felipe Santos
e19a4e23e7
fix(content-docs): warn when files are not tracked ( #6937 )
...
* fix(docs): warn when files are not tracked
* chore(devcontainer): use non-root user
* test: fix jest in vscode
* test(docs): improve existing test
* chore(devcontainer): fix jest error on startup
* chore: fix comments
* chore: remove "probably" from error message
2022-03-21 08:42:36 +08:00
Joshua Chen
cc0bceab9c
chore: tighten ESLint config ( #6931 )
...
* chore: tighten ESLint config
* more refactor
* refactor push
* fix
2022-03-17 17:59:41 +08:00
Joshua Chen
8d1c1954c1
refactor(content-blog): clean up type definitions; in-code documentation ( #6922 )
...
* refactor(content-blog): clean up type definitions; in-code documentation
* add doc
2022-03-16 19:36:57 +08:00
WonChul Heo
46b1027c4a
fix(content-blog): remove double leading slash in blog-only paginated view ( #6918 )
...
* fix(content-blog): Fix permalink function of paginateBlogPosts
* add test
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-03-15 16:45:05 +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
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
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
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
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
f763ac13a9
test: improve test coverage ( #6857 )
2022-03-06 17:55:21 +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
Joshua Chen
6cbc58943e
feat: allow blog authors email ( #6783 )
2022-03-02 16:28:17 +01:00