-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docusaurus v3 #5685
Docusaurus v3 #5685
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Wiz Scan Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went through a ton of pages. All is looking good aside from the two items I called out in comments above. Let me know if you have any questions on those.
@john-rock Nice finds, both of these should now be fixed. @runleonarun Is there anything else you and the team would like to check with this upgrade before we go live? If not, we can likely go live by tomorrow. |
@JKarlavige It looks good to me! I will approve once I check with the team real quick... |
this looks good to me, thank you so very much @JKarlavige and @runleonarun ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢 it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Thanks everyone for the review! I will ship it first thing tomorrow morning 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! tysm!! 🙇♀️
What are you changing in this pull request and why?
Upgrades Docusaurus to latest version (3.4.0). This PR includes:
See full Docusaurus upgrade details here
Previews
Verify cards correctly show
hoverSnippet
frontmatter property if set, and that the full description shows on the card:Verify page with
details
component loads without error:Verify trusted adapters page matches live site after removing
MSCallout
component which does not exist. This was added in PR #4874:Fix import for
RowsAffected
snippet:Verify FAQs show at the bottom of this page:
Verify snippets still work (first paragraph on the following page):
Verify built-in partials still work:
TODO Before Merge
{props.type}
) was causing a build errordetailsToggle
toDetailsToggle
and updated component usage on all pages.Notes
Removed the
Snapshots/snapshot-target-schema
faq from the following pages, as this faq does not exist and is empty on the live site:With the upgrade, there are a number of warnings in the build logs for broken anchor links. MDX v3 improves the built-in linting. I sorted out all formatting errors causing build failures as part of this PR. I don't see these as a blocker to this PR, as they also exist on the live site. However, these warnings should still be cleaned up at some point. The docs team can now see these broken anchor links and sort out as needed. Example from the log below:
Docusaurus provides a command to check for MDX formatting errors as well, which can help when writing content locally:
npx docusaurus-mdx-checker
Removed the swizzled
CodeBlock
MDX component, which we customized (over 3 years ago) to support markdown links within code blocks.Removed the
FAQList
custom component as it was causing errors and is not used anywhere on the site.An additional benefit with the upgrade is it looks like the build times improved. They now take ~3.5-4 minutes to complete, rather than 7-8 minutes.