Docusaurus
@docusaurus
Followers
7K
Following
257
Media
125
Statuses
488
Build optimized websites quickly, focus on your content. Part of @MetaOpenSource.
Menlo Park, CA
Joined August 2017
This was just a quick preview of Docusaurus v3 More details in the blog post: https://t.co/p1Jisf0Ia3 v3.0 does not come with a huge list of features, but is an important infrastructure upgrade. This sets the ground for a new wave of Docusaurus features we plan to implement!
2
0
11
Inject HTML data attributes with query-string / search params This can be useful for various reasons For example, you can customize CSS based on query-string params Tip: use this to embed Docusaurus as an iframe in another website, and customize the layout No FOUC expected!
1
2
10
We also upgraded Mermaid to v10 We support async diagram rendering, and new diagram types
1
0
4
Docusaurus v3 greatly improves TypeScript support - Config files support TS - New official base config - Normalized TS exports - Require TS 5.0+
1
0
4
React 18! This comes up with all React 18 improvements We'll soon explore how to properly support Suspense/React.lazy in Docusaurus We also use the automatic JSX runtime, and you don't need to import React anymore
1
0
6
Unlisted content! We had "draft: true" front matter Now we have "unlisted: true" ๐ This will publish your pages in production builds, but make them "secret" Impossible to discover: noindex, search, sitemap, RSS, sidebars... Ideal for getting final review before publication!
1
0
7
Now let's focus on a few features we particularly like. ESM and TypeScript configs! This new support should greatly improve the Docusaurus DX! And it's not only for your site config, but also docs sidebars, plugins, and preset modules!
1
0
6
Seb โ๏ธ https://t.co/Nwk76t9Gza
@sebastienlorber MDX v1 โก๏ธ MDX v3 is the main challenge to adopt Docusaurus v3 Docs that compiled successfully under Docusaurus v2 might now fail to compile under Docusaurus v3 But we went the extra mile to make it less difficult for you!
1
0
5
Larger, more complex sites may require more work. We came up with a few strategies to help you upgrade more easily: - Prepare your site ahead of time, while staying on v2 - Set up visual regression tests to catch unexpected visual changes https://t.co/aArIAe5dnH
docusaurus.io
This blog post was written when Docusaurus v3 was in beta. There are some changes in dependency versions and upgrade steps you should be aware of if upgrading to Docusaurus v3 current stable releas...
2
0
7
Non-complex Docusaurus sites should be able to adopt v3 very easily All you have to do is update a few dependencies and you're ready to go!
1
0
7
This is a new major version of Docusaurus, coming with new exciting features. We respect Semantic Versioning principles: this release also includes breaking changes. They are exhaustively documented in the v3 upgrade guide. Release blog post: https://t.co/p1Jisf0Ia3
1
1
10
๐ฅ Docusaurus v3.0 stable is available! ๐ฅ โก๏ธ MDX 3 โก๏ธ React 18 / Automatic JSX runtime โก๏ธ ESM + TS Config โก๏ธ Unlisted content โก๏ธ TypeScript 5 โก๏ธ Mermaid 10 โก๏ธ Node 18 โก๏ธ CommonMark (experimental) ๐งต Details below ๐
4
60
272
We are excited to share the Docusaurus V3.0 Release Candidate - explore what's new in this overview ๐งต:
๐ฅ Docusaurus v3 RC.1 is available! โก๏ธ MDX 3 ๐ ๐ โก๏ธ React 18 โก๏ธ TS 5 โก๏ธ Mermaid 10 โก๏ธ Node 18 โก๏ธ ESM + TS Config โก๏ธ Unlisted docs/blog โก๏ธ ESLint rules Release discussion + links: https://t.co/s9dONTW09m
1
7
23
Looks great ๐ค
It's alive! New improved markdown and actual @mdx_js syntax highlighting on Github! ๐ Example: https://t.co/zgHXoulRgA
0
1
9
๐ฅ Docusaurus v3 first alpha is available! ๐ฅ Please give this pre-release a try and share feedback! Main breaking changes: โก๏ธ MDX v1 => v2 โก๏ธ React v17 => v18 ๐
github.com
3.0.0-alpha.0 (2023-06-15) ๐ฅ Breaking Change create-docusaurus, docusaurus-tsconfig #9050 feat: create official TypeScript base config @docusaurus/tsconfig (@slorber) create-docusaurus, docusau...
3
10
88
RT @michaelfester: Today we are releasing a @markprompt plugin for @docusaurus-powered docs sites! It's two lines of code. Thanks @remcohโฆ
0
3
0
๐ฅ Docusaurus v2.4.1 is available! ๐ฅ Little release fixing 2.4.0 bugs, notably: ๐ Collapsibles bug when prefers-reduced-motion is turned on ๐ Algolia indexing SkipToContent ๐ Markdown links with [link](<link>) ๐
github.com
2.4.1 (2023-05-15) ๐ Bug Fix docusaurus-theme-classic, docusaurus-theme-common #8971 fix(theme): fix collapsible sidebar behavior when prefers-reduced-motion (@slorber) docusaurus-theme-transla...
0
3
18
Many other changes too! Check the full changelog here: https://t.co/yGhkOSVY7z This is likely the last 2.x minor release. The next one should be v3.0, including MDX 2 and React 18 ๐ค ๐ ๐
0
1
4
๐งต Many translation improvements New translations: ๐ญ๐บ Hungarian ๐ณ๐ด Norwegian (Bokmรฅl) New DOCUSAURUS_CURRENT_LOCALE โก๏ธ experimental workaround to translate your site config: title, tagline, announcement bar...
1
0
1
๐งต Developer Experience improvements Better error screens Better navbar error messages, explain how to fix the problem Display error cause messages (from ES2021 Error Cause)
1
0
0