Commit graph

144 commits

Author SHA1 Message Date
Tatsunori Uchino
6cc29fac01
docs: add heads up for Prettier users (#9471)
* docs: add a note on the use of Prettier for MDX

* docs: add guides for Prettier users migrating to v3

* Update website/docs/guides/markdown-features/markdown-features-react.mdx

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

* docs: Update MDX version

* Update website/docs/migration/v3.mdx

* Update v3.mdx

---------

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-11-23 13:38:04 -05:00
Sébastien Lorber
a456fefca1
docs: Docusaurus v3.0 blog post (#9433)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Dmitry Vinnik <dmitryvinn@users.noreply.github.com>
2023-10-31 17:04:44 +01:00
Sébastien Lorber
7e456ece3c
feat(mdx-loader): upgrade to MDX v3 + (#9451) 2023-10-26 15:47:11 +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
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
Sébastien Lorber
e9e4635d76
docs: "Preparing your site for Docusaurus v3" blog post (#9333)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-09-29 13:15:20 +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
cc6d9696f0
feat(mdx): add siteConfig.markdown.format to configure the default content parser (MDX / CommonMark) (#9097) 2023-06-23 18:15:05 +02:00
Sébastien Lorber
9866af7f44
feat(pages): add support for missing SEO front matter + improve SEO docs (#9071)
Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2023-06-15 16:07:00 +02:00
Mogyuchi
07d85af144
docs: fix link to rehype (#9018) 2023-05-30 17:17:52 +02:00
Naman Garg
4f3901b932
docs: fix broken link in code blocks docs (#8993) 2023-05-30 15:02:02 +02:00
Raphaël Barbazza
8b109342c8
docs: update link in md code blocks section (#8975)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-05-15 14:38:07 +02:00
conlacda
3170515c89
docs: fix broken link to Prism includeLangs.js default list of languages (#8904) 2023-05-12 12:15:09 +02:00
Sébastien Lorber
7e09ae0c57
docs: rewrite some docs for mdx v2 (#8941)
Co-authored-by: Balthasar Hofer <lebalz@outlook.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-04-28 15:49:41 +02:00
John Cao
41f1c1e3c2
docs: mdx-js is using v2 for next edition (#8920) 2023-04-26 17:57:37 +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
Paul Razvan Berg
22f0101015
docs: link to mermaid config types (#8830) 2023-04-06 12:02:34 +02:00
Sébastien Lorber
9c920c531b
docs: prepare docs for MDX 2 (#8782) 2023-03-16 17:02:38 +01:00
Sébastien Lorber
88b6f5fc68
docs: v2 docs should discourage the usage of a lower-case MDX component (will not work in v3) (#8779) 2023-03-16 15:23:55 +01:00
Armano
fabf053def
feat(npm-to-yarn): add support for PnPm and custom converters (#8690)
Co-authored-by: Ben Gubler <nebrelbug@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-02-24 17:59:15 +01:00
Mikey O'Toole
5edd594613
docs: clarify query string behavior (#8642) 2023-02-16 16:07:15 +01:00
Sébastien Lorber
bc00bda5e9
chore: revert docs(website): use MDX comments instead of HTML comments (#8517) 2023-01-06 17:07:53 +01:00
Sébastien Lorber
9c9d17d6aa
docs(website): use MDX comments instead of HTML comments (#8516) 2023-01-06 16:22:01 +01:00
Serenus
773529a3bc
docs(website): fix broken external links wrongly modified to use the .mdx extension (ex: github README.mdx) (#8509)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-01-05 13:28:30 +01:00
Sébastien Lorber
120b99b1f3
docs(website): use .mdx extension for every docs (#8490) 2022-12-30 15:08:28 +01:00
Mikey O'Toole
32dc1eddba
docs: clarify additionalLanguages with custom language definitions. (#8307)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-12-09 18:47:22 +01:00
mturoci
5c09dbfc3d
feat(theme-classic): store selected tab in query string. (#8225)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Closes https://github.com/facebook/docusaurus/issues/7008
2022-12-09 17:46:09 +01:00
Marco Kuper
681e6d3ea4
docs: fix links to external plugin description (#8262) 2022-12-07 17:58:01 +01:00
Waldir Pimenta
6be3beb8c9
docs: actually demo the zero-width space workaround in MDX (#8352) 2022-11-24 11:00:39 +01:00
Balthasar Hofer
b016686c22
fix(mdx-loader): support nested admonitions (#8303)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
closes undefined
2022-11-23 21:19:29 +01:00
Alex
412d2db011
docs: fix unclosed admonition code block (#8363) 2022-11-23 18:21:04 +01:00
Nathaniel Tucker
7387aabbdc
docs: fix mermaid theme options typo (#8272)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-11-02 14:31:53 +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
Sébastien Lorber
6f63ffe0a3
refactor(theme): split admonitions, make swizzle easier, better retrocompatibility (#7945)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-09-07 17:49:44 +02:00
Tom Mrazauskas
1f1f898d73
docs: delete extra semicolon in MDX and React page (#8046) 2022-09-03 14:39:06 -04:00
Joshua Chen
e1a8db7d91
docs: add TOC heading level options to guide (#7906)
docs: add documentation for TOC heading level options in guide
2022-08-06 21:35:56 +08:00
Joshua Chen
09326bd456
docs: formally document how admonitions can be customized (#7799) 2022-07-20 12:57:12 +02:00
SheetJSDev
ad1d2d2ab1
docs: swizzle react-live with eject (#7739)
docs: swizzle react-live with eject (#7735)
2022-07-08 12:55:39 +08:00
Joshua Chen
1f47151363
docs: mention MDXContent (#7705) 2022-07-01 10:43:06 +02:00
Joshua Chen
e12a2efaeb
docs: normalize capitalization (#7619) 2022-06-15 13:04:33 +08:00
Joshua Chen
aeb6c971c0
docs: normalize capitalization (#7613) 2022-06-14 14:01:06 +08:00
Joshua Chen
c03def7d5f
docs: wrap more JSX in mdx-code-block (#7568) 2022-06-05 15:41:06 +08:00
Joshua Chen
6d481f6a29
docs: fix multiple typos (#7561) 2022-06-04 21:22:06 +08:00
JP
f25ee0cbf5
feat(live-codeblock): add support for noInline to interactive code blocks (#7514)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-06-02 10:34:20 +02:00
Joshua Chen
5cf6432e4e
docs: avoid using nested mdx-code-block (#7543)
* docs: avoid using nested mdx-code-block

* fix
2022-06-01 19:32:25 +08:00
Joshua Chen
f40dc31381
docs: multiple documentation elaborations (#7519) 2022-05-28 21:24:01 +08:00
Joshua Chen
ab566ecce3
docs: remove useless front matter (#7518) 2022-05-28 19:07:45 +08:00
Joshua Chen
bac292d84b
docs: document MDXComponents scope (#7503)
* docs: document MDXComponents scope

* address reviews

* add info
2022-05-26 21:50:50 +08:00
Joshua Chen
cd21a31005
test: strengthen internal types (#7488) 2022-05-25 15:38:44 +08:00
Sébastien Lorber
c31d076aed
chore: fix site deployment Crowdin issue (#7326) 2022-05-04 17:48:29 +02:00