Commit graph

2664 commits

Author SHA1 Message Date
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
Tatsunori Uchino
bca375238f
fix(theme-translations): add Japanese translation for "warning" (#9362) 2023-10-05 09:47:44 +02:00
ozaki
bde9cfd84d
chore: update node engine version 18 (#9348)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-09-28 16:45:25 +02:00
初冬
a178654446
fix(theme-translations): add missing zh-Hans messages (#9321) 2023-09-28 10:36:36 +02:00
la55u
519428bce2
fix(theme-translations): complete and fix hungarian translations (#9338) 2023-09-25 14:47:50 +02:00
Sébastien Lorber
507d65800d
chore(theme-search-algolia): revert docsearch package range downgrade after bugfix release (#9320) 2023-09-19 11:28:27 +02:00
Sébastien Lorber
52d79c4e0c
chore: v3.0.0-beta.0 release (#9311) 2023-09-15 19:44:35 +02:00
qwerzl
6e8e276e40
fix(cli): disable vertical borders of the update notification (#9309) 2023-09-15 18:55:28 +02:00
Sébastien Lorber
598b32011f
chore(plugin-docs): remove legacy versioned prefix on doc ids and sidebar names in versioned sidebars (#9310) 2023-09-15 18:52:42 +02:00
Sébastien Lorber
f5ae537d3e
fix(theme): make warning a first-class admonition, and deprecate caution admonition (#9308) 2023-09-15 10:48:21 +02:00
Sébastien Lorber
58be496da2
feat(theme-mermaid): upgrade Mermaid to v10.4 - handle async rendering (#9305) 2023-09-14 17:23:07 +02:00
Forresst
bd8616a23f
chore(theme-translations): complete French translations (#9304) 2023-09-14 14:49:42 +02:00
Pinaki Bhattacharjee
83d9f228b3
fix(theme): improve docs sidebar category caret aria-label accessibility (#9269)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-09-14 13:01:02 +02:00
qwerzl
3cad29a0ad
chore(theme-translations): complete zh-Hant translations (#9302)
* Update theme-common.json

* Update packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

---------

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-09-13 23:39:18 -04:00
Andrés Villanueva
3f09fb11a1
fix(theme-translations): add missing Spanish theme translations (#9292) 2023-09-08 19:25:13 +02:00
Sébastien Lorber
97d5dd094d
fix(theme-common): remove useless useSyncExternalStore shim (#9276) 2023-09-04 16:21:59 +02:00
Sébastien Lorber
9868babf75
fix(mdx-loader): improve mdxJsxTextElementToHtml (#9262) 2023-08-25 19:05:16 +02:00
Sébastien Lorber
b3c8f5c929
feat: Docusaurus v3 upgrades and require TypeScript 5 (#9258) 2023-08-25 10:54:58 +02:00
Sébastien Lorber
da85e22778
test: fix flaky screenshots, add html data-has-hydrated attribute (#9256) 2023-08-25 08:13:48 +02:00
Colin McDonnell
13a8ba1528
feat: support bun package manager in create-docusaurus (#9241) 2023-08-24 14:49:03 +02:00
Sébastien Lorber
ca352686dc
fix(theme-common): ThemedComponent should display something when JS is disabled (#9243) 2023-08-18 17:11:52 +02:00
Sébastien Lorber
a59aead1e2
chore: attempt to fix Crowdin issues (#9220) 2023-08-12 02:56:54 +02:00
yosukekato165
19ee437f64
fix(mdx-loader): ensure heading anchor slugs respect GitHub emoji behavior (#9202)
Co-authored-by: YosukeKato <katouyousuke@YosukeKato.local>
2023-08-10 18:17:07 +02:00
Sujal Gupta
1e40943176
fix(theme): make Prism code block language / additionalLanguages case insensitive (#9183)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-08-10 17:30:41 +02:00
Sébastien Lorber
b96004e77e
fix(create-docusaurus): increase Browserslist support query in dev (#9217) 2023-08-10 16:30:07 +02:00
Gareth Dwyer
577df0346d
fix(theme): fix typo in swizzle component config (#9216) 2023-08-10 15:13:50 +02:00
Joshua Chen
3e9648e3d6
docs: add the missing import logger statement (#9210) 2023-08-07 17:41:23 -04:00
VinceCYLiao
109ab0c293
fix(content-blog): links in feed should be absolute (#9151)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: 政宇 廖 <vince.liao@nextbank.com.tw>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-08-03 18:36:40 +02:00
Sébastien Lorber
062a0d2eb6
test(blog-plugin): fix ability to generate proper blog website fixture build snapshot (#9195) 2023-08-03 17:57:11 +02:00
John Reilly
4ecc86f89f
feat(blog-plugin): limit option for blog feedOptions (#9189) 2023-08-03 15:53:43 +02:00
thedevwonder
e0bb39a40a
fix(theme): change schema.org itemType prop urls from http to https (#9184) 2023-07-28 19:37:05 +02:00
FlorinaPacurar
5e147e8914
feat(theme): add support for meta og locale and alternates (#9152) 2023-07-28 17:16:46 +02:00
Sébastien Lorber
09ea3bcfab
feat(client-redirects-plugin): support fully qualified urls and querystring/hash in destination/to url (#9171) 2023-07-21 19:54:40 +02:00
Ori Shalom
4ea0a70f93
fix(theme): canonical url should be not change after hydration if url accessed with/without trailing slash (#9130)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-07-21 19:22:26 +02:00
Joshua Chen
cd61c7bddc
fix(core): handle single quotes inside file paths (#9160) 2023-07-21 15:16:10 +02:00
Joshua Chen
ff227283d2
chore: upgrade dependencies (non-major) (#9148)
* chore: upgrade dependencies (non-major)

* Downgrade
2023-07-16 23:44:17 +08:00
Tatsunori Uchino
16a366b5ec
fix(init): change initial site URL to one that is safe for the future (#9133)
RFC 2606 reserves the `.example` domain for illustrative purposes.
2023-07-13 21:59:23 +08:00
Ahmad Shrif
26ae4164d6
feat(cli): deploy command should allow customizing git config user.name / user.email in deployment branch (#9101) (#9102)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-07-03 09:51:50 +02:00
Sébastien Lorber
e8c1312793
fix(debug-plugin): upgrade react-json-view to maintained React-18 compatible fork (#9116) 2023-06-30 19:12:47 +02:00
thedevwonder
8ea1945f35
fix(core): throw error if build folder already exists on initial clean (#9112)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-06-30 17:58:24 +02:00
Mikey O'Toole
c8e7ce33f5
fix(theme): only set classname on ul elements if they have an existing class (#9099)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-06-30 15:39:07 +02:00
TheCatLady
9391a33c41
fix(content-docs): sidebar generator should return customProps for doc items (#9107) 2023-06-29 12:13:48 +02:00
TheCatLady
05156d05b9
feat(theme-classic): add description & keywords microdata to blog posts (#9108) 2023-06-29 12:02:22 +02:00
Sébastien Lorber
ae2a09359a
fix(mdx): fix for html multi-line comments (#9100) 2023-06-23 19:33:03 +02:00
Sébastien Lorber
cc6d9696f0
feat(mdx): add siteConfig.markdown.format to configure the default content parser (MDX / CommonMark) (#9097) 2023-06-23 18:15:05 +02:00