Commit graph

2708 commits

Author SHA1 Message Date
Anatoly Kopyl
3c982127d7
fix(mdx-loader): the table-of-contents should display toc/headings of imported MDX partials (#9684)
Co-authored-by: Titus <tituswormer@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2024-01-19 18:58:11 +01:00
Jack Robson
bed11f62bc
fix(core): conditionally include hostname parameter when using… (#9407) 2024-01-18 14:03:45 +01:00
Sanjaiyan Parthipan
e1899786a4
polish(theme): MDX images should use async decoding (#9470) 2024-01-12 21:25:18 +01:00
Tatsunori Uchino
d75f99f9a6
fix(theme-common): fix missing code block MagicComments style in Visual Basic (.NET) 16 (#9727) 2024-01-12 21:13:24 +01:00
Sébastien Lorber
0a2e6e67d3
fix: remove old useless mdx typedefs (#9733) 2024-01-12 19:12:09 +01:00
Sébastien Lorber
4388267c26
fix(core): various broken anchor link fixes (#9732) 2024-01-12 16:09:45 +01:00
Sébastien Lorber
16500436f7
fix(theme): allow empty code blocks and live playgrounds (#9704) 2024-01-05 13:37:48 +01:00
Sébastien Lorber
e0052edc4c
fix(create-docusaurus): fix init template code blocks, and little improvements (#9696)
Co-authored-by: Ivan Mar (sOkam!) <7308253+heysokam@users.noreply.github.com>
2024-01-04 14:03:10 +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
Simen Bekkhus
3389daefac
fix(pwa-plugin): upgrade workbox (#9668) 2023-12-27 23:32:33 +01:00
Sébastien Lorber
bfb882c2f0
feat(mdx-loader): add support for siteConfig.markdown.remarkRehypeOptions (#9674) 2023-12-27 23:19:25 +01:00
Tatsunori Uchino
bd7d64f455
feat(theme-common): code block MagicComments support for (Visual) Basic/Batch/Fortran/COBOL/ML (#9671) 2023-12-27 23:02:48 +01:00
Joshua Chen
60d62d1d65
fix(cli): output help when no conventional config + no subcommand (#9648) 2023-12-21 12:28:37 +01:00
Sébastien Lorber
affca7a9a2
feat: siteConfig.markdown.parseFrontMatter hook (#9624) 2023-12-16 02:50:26 +01:00
Sébastien Lorber
991429ff8a
fix(live-codeblock): stabilize react-live transformCode callback, fix editor/preview desync (#9631) 2023-12-14 12:56:28 +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
axmmisaka
8dd1e13f2a
fix(type-aliases): add title prop for imported inline SVG React components (#9612)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-12-05 17:29:38 +01:00
ozaki
4cc56133f7
fix(content-blog): add baseUrl for author.image_url (#9581) 2023-12-05 16:36:46 +01:00
Sébastien Lorber
7650829e91
chore: add lint autofix CI job (#9604) 2023-12-01 20:09:04 +01:00
Janessa Garrow
209b035399
refactor(theme-common): allow optional desktopBreakpoint param in useWindowSize (#9335)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-12-01 17:40:27 +01:00
c0h1b4
bfd2cdbd65
fix(i18n): complete translations for theme-common.json Brazilian Portuguese (pt-BR) (#9477) 2023-12-01 16:15:03 +01:00
MCR Studio
dcb36facc6
chore(debug-plugin): migrate to a new maintained JSON Viewer (#9566)
Co-authored-by: Joey Clover <joey@popos.local>
2023-11-23 19:53:45 +01:00
Chongyi Zheng
bda8f14f89
chore: upgrade prism-react-renderer to 2.3.0 to avoid older clsx (#9572) 2023-11-21 23:37:11 +01:00
Sébastien Lorber
7c32fc341f
fix: add v2 retrocompatible support for quoted admonitions (#9570) 2023-11-21 20:49:34 +01:00
Chongyi Zheng
2c0bf8a3d8
chore: Upgrade clsx to 2.0.0 (#9464)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-11-21 19:29:18 +01:00
Sébastien Lorber
58f59e7f89
fix(theme): upgrade prism-react-renderer, fix html script and style tag highlighting (#9567) 2023-11-21 12:40:28 +01:00
Nick Gerleman
424ffd2e29
chore(core): replace wait-on dependency with custom lighter code (#9547) 2023-11-20 17:45:01 +01:00
Shreesh Nautiyal
6f70b27694
fix(theme-classic): fixed wrong cursor on dropdown menu in navbar, when window is small (#9398) 2023-11-15 17:29:12 -05: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
reece-white
95d3a65e74
chore: ugrade babel dependencies to v7.23.3 (#9529) 2023-11-10 19:16:36 +01:00
Sébastien Lorber
e68ef88336
fix(theme): docs html sidebar items should always be visible (#9531) 2023-11-10 18:12:55 +01:00
Sébastien Lorber
328e5f7ddc
fix(theme): fix firefox CSS :has() support bug (#9530) 2023-11-10 17:46:25 +01:00
Sébastien Lorber
791da2e4a1
fix(create-docusaurus): fix readme docusaurus 2 ref (#9487) 2023-10-31 23:15:16 +01:00
Sébastien Lorber
85e5e552cb
chore: release Docusaurus 3.0.0 (#9478) 2023-10-31 16:39:21 +01:00
Sébastien Lorber
495c7936b6
chore: v3.0.0-rc.1 release (#9453) 2023-10-26 20:10:02 +02:00
Sébastien Lorber
7e456ece3c
feat(mdx-loader): upgrade to MDX v3 + (#9451) 2023-10-26 15:47:11 +02:00
Sébastien Lorber
8d19054d91
fix(theme): fix useWindowSize React hydration issue (#9446) 2023-10-25 18:18:15 +02: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
Sébastien Lorber
f80e1bdb32
refactor(blog-plugin): blog archive reverse ordering of posts (#9438) 2023-10-24 12:24:43 +02:00
Sébastien Lorber
aa958f0cc1
fix(plugin-blog): blog archive should hide unlisted blog posts (#9437) 2023-10-23 15:27:41 +02:00
Sébastien Lorber
7ee2f75ce1
chore: v3.0.0-rc.0 release (#9418) 2023-10-20 11:24:29 +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
Sébastien Lorber
336a44f3ea
chore: remove docusaurus-migrate (#9400) 2023-10-13 12:37:43 +02:00
John Reilly
643a7fe5a3
fix(core): log missing errorInfo in React 18 onRecoverableError callback (#9387)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-09 15:28:06 +02:00
Sébastien Lorber
d86aa0da5f
fix(mdx-loader): get correct error line numbers, handle front matter + contentTitle with remark (#9386) 2023-10-09 14:55:09 +02:00
Sébastien Lorber
35441b38e4
fix(theme): avoid rendering empty search container if site has no search plugin (#9385) 2023-10-08 20:04:42 +02:00
Jorens Merenjanu
1319996083
feat(core): throw error when official docusaurus dependencies use different versions (#9381)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-08 18:51:52 +02:00
Chongyi Zheng
dceaae41d7
chore: upgrade syntax highlighting dependencies, prism-react-renderer to v2, react-live to v4 (#9316)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-06 19:15:14 +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