Josh Goldberg
ac81765024
fix(utils): allow partially backticked markdown h1 contentTitles ( #8314 )
2022-11-17 11:38:10 +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
Johan Fagerberg
6c8af03f51
fix(utils): remove non-ASCII limitation for path normalization ( #8137 )
2022-10-07 13:35:12 +02:00
Pranav Joglekar
efbd0cbd40
fix(content-blog): make RSS feed generation work with slugs with .html extension ( #8158 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-06 16:19:05 +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
b4279dfee7
feat(core): add new Webpack file-loader extensions: avif, mov, mkv, mpg, avi... ( #7941 )
2022-08-11 19:42:13 +02:00
Joshua Chen
40827c6c72
fix(utils): always match exclusion root dirs as complete folder paths ( #7864 )
...
* fix(utils): always match exclusion root dirs as complete folder paths
* fix
* fix?
* fix for real
2022-08-01 15:23:01 +08:00
Joshua Chen
1dd65eee50
fix(utils): recognize ~~~ as code fences in link replacement ( #7801 )
2022-07-18 19:16:00 +08: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
89e146f596
fix(utils): allow any non-boundary characters in Markdown heading ID ( #7604 )
2022-06-16 12:32: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
Joshua Chen
be912c698a
feat(core): support docusaurus.config.cjs as default file name ( #7371 )
2022-05-27 11:11:58 +02:00
Sébastien Lorber
dbd161d67c
fix(create-docusaurus): potential security issue with command injection ( #7507 )
2022-05-27 10:41:15 +02: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
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
ad888b7fae
fix(utils): avoid replacing Markdown links missing the directly next link ( #7458 )
2022-05-21 13:07:31 +08:00
Joshua Chen
0838884f67
chore: enable import/order rule ( #7418 )
2022-05-14 23:39:50 +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
Joshua Chen
d2562a4434
refactor: normalize Markdown linkification behavior, elaborate in documentation ( #7248 )
...
* refactor: normalize Markdown linkification behavior, elaborate in documentation
* fix broken links
* allow links to be relative to site root
* fix test
* minor doc update
* Update website/docs/guides/markdown-features/markdown-features-links.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-04-29 11:36:39 +08:00
Joshua Chen
242f2e780e
chore: upgrade dependencies ( #7232 )
2022-04-23 11:55:01 +08:00
Joshua Chen
3b32a41f22
fix(core): handle case where package.json is not available at CWD ( #7187 )
2022-04-21 16:07:02 +02:00
Joshua Chen
fa1ce230ea
refactor: capitalize comments ( #7188 )
...
* refactor: capitalize comments
* revert...
2022-04-17 16:39:11 +08:00
Joshua Chen
f219a2ac90
test: improve test coverage ( #7181 )
2022-04-16 16:35:40 +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
ApsarasX
103ea04661
feat(sitemap): add ignorePatterns option ( #6979 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-06 15:44:07 +02:00
Joshua Chen
e610a4ac00
test: improve test coverage ( #7113 )
2022-04-05 14:09:19 +08:00
Joshua Chen
ff96606865
docs: fix some casing inconsistencies ( #7081 )
2022-03-31 20:23:44 +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
4f4f503633
fix(utils): parse Markdown headings with CRLF line break ( #7043 )
2022-03-28 21:59:29 +08:00
Joshua Chen
85a79fd9b9
refactor(core): reorganize functions ( #7037 )
2022-03-28 17:12:36 +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
Felipe Santos
4b3f568b78
fix(content-docs): suppress git error on multiple occurrences ( #6973 )
2022-03-23 16:35:26 +01:00
Joshua Chen
c696dc2cd6
test: fix Windows test for gitUtils ( #6951 )
...
* test: fix Windows test for gitUtils
* change this
* fix
2022-03-21 20:13:40 +08:00
Joshua Chen
5ee7e8c48e
test: add tests for gitUtils ( #6949 )
...
* test: add tests for gitUtils
* debug test
* try fix
2022-03-21 18:40:20 +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
Joshua Chen
ad88f5cc87
test: improve test coverage; multiple internal refactors ( #6912 )
2022-03-14 21:53:57 +08:00
Joshua Chen
8c1e518ba2
chore: do not print prototype in jest snapshot ( #6908 )
2022-03-13 19:34:50 +08:00
Joshua Chen
3a4b9b4c30
refactor: install eslint-plugin-regexp ( #6906 )
...
* refactor: install eslint-plugin-regexp
* simplify
* simplify
* fix
2022-03-13 18:32:17 +08:00
Joshua Chen
d85cee576d
test: improve test coverage; properly test core client APIs ( #6905 )
...
* test: improve test coverage
* fix
2022-03-12 23:15:45 +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