-
Notifications
You must be signed in to change notification settings - Fork 569
docs: add regeneration instructions #309
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
docs: add regeneration instructions #309
Conversation
WalkthroughThe README.md file was updated to add a new section under "Extras" that describes how to regenerate server code using the Go toolchain. This includes instructions on running a specific command, required prerequisites, and notes about automatic formatting. The section was also added to the table of contents. Changes
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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: 0
🧹 Nitpick comments (1)
README.md (1)
760-770
: Clear regeneration instructions added
The section succinctly explains how to regenerate generated hooks and handlers viago generate ./...
. For completeness, you could optionally include a install command forgoimports
(e.g.,go install golang.org/x/tools/cmd/goimports@latest
) or link to its documentation, helping users who need to install prerequisites.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting
📒 Files selected for processing (1)
README.md
(2 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
README.md
100-100: Unordered list style
Expected: asterisk; Actual: dash
(MD004, ul-style)
🔇 Additional comments (1)
README.md (1)
100-100
: Addition of Table of Contents entry for regeneration instructions
The new TOC entry correctly references the “Regenerating Server Code” section. Please verify that the anchor (#regenerating-server-code
) exactly matches the heading’s slug, including case and punctuation.🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
100-100: Unordered list style
Expected: asterisk; Actual: dash(MD004, ul-style)
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.
I'm not sure if we need to add this to the readme since it is already documented here: https://github.com/mark3labs/mcp-go/blob/main/server/internal/gen/README.md
Perhaps just a link to that README? |
Not sure if that's also needed because it is internal, and developers looking to modify the generated files will already see that it is a generated file and will see the readme. I will let others chime in. |
Description
Add instructions to main README to regenerate code
Fixes #<issue_number> (if applicable)
Type of Change
Checklist
Additional Information
Summary by CodeRabbit