-
Notifications
You must be signed in to change notification settings - Fork 267
feature: content reuse #584
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
Conversation
WalkthroughThe updates enhance documentation efficiency through content reuse and better modularization. A new file, Changes
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (1)
Additional context usedMarkdownlint
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
✅ Deploy Preview for docs-optimism ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
would also be cool if we could update coderabbit (and maybe the linter??) to recommend people use content reuse .md files when it notices overlapping content 😄 i know this would be separate, but this would really elevate the docs too @smartcontracts FV and weigh-in 💟 |
I'm not sure how to configure coderabbit or the linter to handle that. Maybe the ai rabbit would be smart enough to pick it up after its introduced into the codebase, but I'm not sure. |
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.
Actionable comments posted: 2
Outside diff range and nitpick comments (2)
pages/builders/chain-operators/architecture.mdx (2)
Line range hint
54-54
: Correct the verb form for "setup".The word "setup" is used incorrectly as a verb. Here's the corrected version:
- It is important to setup a robust chain architecture to handle large volumes of RPC requests from your users. + It is important to set up a robust chain architecture to handle large volumes of RPC requests from your users.
Line range hint
68-68
: Use the correct article "an" before vowel sounds.The use of "a" before "RPC" is incorrect since "RPC" starts with a vowel sound. Here's the corrected version:
- This tool is a RPC request router and proxy. + This tool is an RPC request router and proxy.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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.
Actionable comments posted: 2
Description
Example of how we can import
.md
files into our.mdx
files to enable content reuse.You can compare the preview to the live page and see there's no difference https://docs.optimism.io/builders/chain-operators/architecture
Tests
Please describe any tests you've added. If you've added no tests, or left important behavior untested, please explain why not.
Additional context
Add any other context about the problem you're solving.
Metadata