Commit graph

205 commits

Author SHA1 Message Date
Sébastien Lorber
4388267c26
fix(core): various broken anchor link fixes (#9732) 2024-01-12 16:09:45 +01:00
ozaki
fd49301a45
feat(core): make broken link checker detect broken anchors - add onBrokenAnchors config (#9528)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2024-01-04 12:56:20 +01:00
Sébastien Lorber
affca7a9a2
feat: siteConfig.markdown.parseFrontMatter hook (#9624) 2023-12-16 02:50:26 +01:00
ozaki
d3752d227b
feat(core): enable port configuration via environment variable (#9610)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-12-07 11:46:35 +01:00
Joshua Chen
c8c93a3854
fix(utils): Markdown link replacement with <> but no spaces (#9617) 2023-12-07 11:27:28 +01:00
Sébastien Lorber
7c32fc341f
fix: add v2 retrocompatible support for quoted admonitions (#9570) 2023-11-21 20:49:34 +01:00
Sébastien Lorber
b464545629
fix: v3 admonitions should support v2 title syntax for nested admonitions (#9535)
Fix admonition title mdx v1 compat option when admonition is nested
2023-11-11 22:23:27 +01:00
ozaki
c6762a2542
feat(mdx-loader): Remark plugin to report unused MDX / Markdown directives (#9394)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-24 16:15:49 +02:00
Chongyi Zheng
45f1a669b5
feat(core): support TypeScript + ESM configuration (#9317)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-14 02:46:03 +02:00
Zwyx
e17784effa
fix(mdx-loader): prevent Open Graph images from being inserted as base64 (#9369)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-05 14:21:27 +02:00
Joshua Chen
cd61c7bddc
fix(core): handle single quotes inside file paths (#9160) 2023-07-21 15:16:10 +02:00
Joshua Chen
76f920359b
fix(utils): better handling of code blocks in link replacement (#9046) 2023-06-08 12:16:56 +02:00
Joshua Chen
9e0b62fe6c
fix(utils): make Markdown link replacement much more rigorous (#8927) 2023-04-27 17:57:11 +02:00
Sébastien Lorber
bf913aea2a
feat: upgrade to MDX v2 (#8288)
Co-authored-by: Armano <armano2@users.noreply.github.com>
2023-04-21 19:48:57 +02:00
Aleksandr Vladykin
2b994262b0
fix(utils): handle Markdown links with spaces to route correctly (#8874) 2023-04-12 19:14:26 +02:00
Sébastien Castiel
2f02beebe2
fix(utils): handle CRLF when parsing MDX imports (#8606) 2023-02-02 09:48:28 +01:00
Joshua Chen
e8a07633ba
chore: upgrade dependencies (#8534)
* chore: upgrade dependencies

* FIxes

* Bump again
2023-01-10 13:23:16 -05:00
Anders Bech Mellson
19ba0ff49d
feat(theme-algolia): add option.replaceSearchResultPathname to process/replaceAll search result urls (#8428)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-12-22 18:24:28 +01:00
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