Skip to content

Conversation

@KianNH
Copy link
Member

@KianNH KianNH commented Mar 31, 2025

Summary

Add useTypeScriptExample prop to GitHubCode and adds aside to TypeScriptExample that code block configuration must be moved to the component.

@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Mar 31, 2025

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 Summary

Added the useTypeScriptExample prop to the GitHubCode component and clarified code block configuration requirements for the TypeScriptExample component.

  • Introduced useTypeScriptExample prop to enhance the GitHubCode component functionality.
  • Updated documentation to specify that code block configurations must be moved to the code prop in TypeScriptExample.
  • Added caution note regarding code block configuration in the TypeScriptExample documentation.

Modified Files

  • src/content/docs/style-guide/components/github-code.mdx
  • src/content/docs/style-guide/components/typescript-example.mdx

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 hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

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 hyperlint-ignore to the PR to ignore the link check for this PR.

@KianNH KianNH merged commit 545b97c into production Mar 31, 2025
12 checks passed
@KianNH KianNH deleted the kian/PCX-16654 branch March 31, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants