-
Notifications
You must be signed in to change notification settings - Fork 10k
Fix various Rust documentation formatting issues #23650
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
Fix various Rust documentation formatting issues #23650
Conversation
|
Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment. We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally. PR Change SummaryFixed various formatting issues in Rust documentation across multiple examples.
Modified Files
How can I customize these reviews?Check out the Hyperlint AI Reviewer docs for more information on how to customize the review. If you just want to ignore it on this PR, you can add the Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add |
| ``` | ||
| </TabItem> <TabItem label="Rust" icon="seti:rust"> | ||
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.
FYI this blank space is what prevents (I think) prettier from treating the code block as markdown code which is what leads to it mangling the code.
|
Congratulations @samscott89, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cmdd0lmj31386507l2yatozt14 This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. |
Summary
Related issue: #23649.
Found the Rust code samples that were formatting incorrectly and fixed them. Also tried to fix the spacing around
some of the code blocks with
Tabcomponents because in my experience that's where prettier can sometimes get confused.Documentation checklist