docs: fix broken contribution guide links and forwarder#26016
docs: fix broken contribution guide links and forwarder#26016pmenic wants to merge 8 commits intogoogle-gemini:mainfrom
Conversation
Three small changes addressing google-gemini#25488 and a related broken link found while investigating: - CONTRIBUTING.md: replace the absolute `/docs/...` path on the React DevTools image with a file-relative path, and add proper alt text. The previous form generated `[WARN ] InvalidPathToUri` from lychee. - docs/CONTRIBUTING.md: replace the symlink with a regular markdown forwarder. The symlink rendered as literal `../CONTRIBUTING.md` text in GitHub's blob view (see screenshot in PR) and is unreliable on Windows checkouts that don't have symlink support enabled. - docs/index.md: fix the "Contribution guide" link in the Development section. It pointed to `/docs/contributing`, which 404s on GitHub (the file is `CONTRIBUTING.md` at repo root). Now points to `../CONTRIBUTING.md`.
Summary of ChangesHello, 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 several documentation issues, specifically targeting broken links and rendering problems on GitHub. By replacing problematic symlinks and correcting incorrect file paths, the changes ensure that contributors can reliably access the contribution guide and that documentation assets render correctly across different environments. Highlights
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. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates documentation links and metadata across the repository. Key changes include adding alt text to an image in the root CONTRIBUTING.md, converting docs/CONTRIBUTING.md from a simple path reference to a descriptive link, and updating the contribution guide link in docs/index.md to point directly to the root file. I have no feedback to provide.
Note: Security Review has been skipped due to the limited scope of the PR.
- google-gemini/gemini-cli#26016 docs: contribution-guide link fixes (merge-as-is) - google-gemini/gemini-cli#25974 fix: file-loaded theme lookup by internal name (merge-after-nits) - BerriAI/litellm#26575 OAuth discovery extension + route deauthing (needs-discussion) - aaif-goose/goose#8856 chore: dependabot auto-merge workflow (merge-after-nits)
|
Heads up on the red CI on the previous SHA ( Root cause. When I converted Fix. Pure mode change, blob SHA unchanged: Unrelated: the The new commit needs a maintainer to approve the workflow run for it to start (fork-PR |
|
Pushed |
|
Hi there! Thank you for your interest in contributing to Gemini CLI. To ensure we maintain high code quality and focus on our prioritized roadmap, we only guarantee review and consideration of pull requests for issues that are explicitly labeled as 'help wanted'. This PR will be closed in 7 days if it remains without that designation. We encourage you to find and contribute to existing 'help wanted' issues in our backlog! Thank you for your understanding. |
Closes #25488 (and a related 404 found while investigating).
Summary
Three small docs changes that fix two genuinely-broken user-visible links plus one lychee
InvalidPathToUriwarning inCONTRIBUTING.md.When I started investigating #25488 the original CI failure had already self-resolved (lychee v2.6.1 now treats the
/docs/...paths as warnings rather than errors), but the underlying issues are real and visible to users browsing the docs on GitHub:CONTRIBUTING.md:416(React DevTools image)— renders on GitHub but generates[WARN] InvalidPathToUrifrom lychee. No alt text— file-relative path, lychee accepts it, alt text addeddocs/CONTRIBUTING.md../CONTRIBUTING.md. On GitHub's web view it rendered as literal text../CONTRIBUTING.md(not a clickable link) and breaks on Windows checkouts that lack symlink supportCONTRIBUTING.mdwith a clickable linkdocs/index.md:127(Contribution guide link)[Contribution guide](/docs/contributing)— GitHub 404 (the path doesn't exist; the file isCONTRIBUTING.mdat repo root)[Contribution guide](../CONTRIBUTING.md)— works on GitHub blob viewWhat I verified visually
[Contribution guide](/docs/contributing)fromdocs/index.mdreturns "File not found" on GitHubdocs/CONTRIBUTING.mdsymlink rendered as literal text "../CONTRIBUTING.md" in the Preview tab on github.com instead of a working linkCONTRIBUTING.mdimage renders correctly on GitHub both before and after the fix (the change is hygiene + lychee cleanliness, not a visible regression)On the other 3 links from the issue
The original issue listed 4 errors. By the time I picked it up, only the image at
CONTRIBUTING.md:416was still generating a lychee warning; the other three (/docs/faq.md,/docs/integration-tests.md,/docs/sidebar.json) no longer trigger errors with the current lychee version (v2.6.1). I focused on what's still observably broken today + the related 404 indocs/index.md.Pre-merge checklist
docs/content updated and verified to render correctly on GitHubdocs/CONTRIBUTING.mdrenders as a proper markdown page (not a symlink target dump)@pmenic— will sign on first PR push if not already