fix: correct API Extension documentation link - #30962
Conversation
Summary of ChangesHello @Milad93R, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a critical user experience issue by correcting an outdated and broken documentation link within the API Extension settings. The change ensures that users seeking information on developing API Extensions are directed to the appropriate and helpful resources, thereby improving the overall usability and support for this feature. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request fixes a broken documentation link for API Extensions. The fix involves hardcoding the new URL. While this corrects the link, it removes the existing internationalization support, as the URL will now always point to the English documentation. My review includes a suggestion to update the usage of the useDocLink hook to fix the link while preserving localization, which is a more robust solution.
e62be28 to
1a74b48
Compare
Fixes langgenius#30946 The documentation link on the API Extension settings page was pointing to `/guides/extension/api-based-extension/README` which redirects to an unrelated getting-started page. Updated to use the versioned docs URL with useDocLink hook to preserve internationalization support.
1a74b48 to
aa524d7
Compare
Summary
/guides/extension/api-based-extension/READMEwas redirecting to an unrelated getting-started pageFixes #30946
Test plan
🤖 Generated with Claude Code