Skip to content

docs: use absolute paths for internal links in plan-mode.md#21299

Merged
jerop merged 2 commits intomainfrom
fix/plan-mode-links
Mar 5, 2026
Merged

docs: use absolute paths for internal links in plan-mode.md#21299
jerop merged 2 commits intomainfrom
fix/plan-mode-links

Conversation

@jerop
Copy link
Copy Markdown
Contributor

@jerop jerop commented Mar 5, 2026

Convert relative internal links to absolute paths starting with /docs/ and including .md extension to fix Astro link validation errors.

Related to #16871

Convert relative internal links to absolute paths starting with /docs/ and including .md extension to fix Astro link validation errors.
@jerop jerop requested review from a team as code owners March 5, 2026 18:47
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 focuses on enhancing the reliability and consistency of the documentation by updating internal links in the plan-mode.md file. The change ensures that all internal references adhere to an absolute path format, which resolves existing link validation issues and improves the overall integrity of the documentation site.

Highlights

  • Documentation Link Fixes: Converted all relative internal links within plan-mode.md to absolute paths, starting with /docs/ and including the .md extension.
  • Astro Link Validation: Addressed and resolved Astro link validation errors by standardizing the internal link format.
Changelog
  • docs/cli/plan-mode.md
    • Converted relative internal links to absolute paths (e.g., ../tools/file-system.md to /docs/tools/file-system.md).
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@jerop jerop enabled auto-merge March 5, 2026 18:47
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates internal links in docs/cli/plan-mode.md to use absolute paths, which is a good improvement for documentation consistency and fixes link validation errors. I've reviewed the changes and found a couple of instances where the link anchors still appear to be incorrect, which would lead to broken navigation. I've left specific comments with suggestions to correct these anchors to ensure all links function as intended.

Note: Security Review has been skipped due to the limited scope of the PR.

@jerop jerop disabled auto-merge March 5, 2026 18:49
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

Size Change: -385 B (0%)

Total Size: 26 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 25.5 MB -385 B (0%)
./bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js 221 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js 227 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js 11.5 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js 132 B 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B
./bundle/sandbox-macos-strict-open.sb 4.82 kB 0 B
./bundle/sandbox-macos-strict-proxied.sb 5.02 kB 0 B

compressed-size-action

Corrects anchors for codebase_investigator, cli_help, and auto model to match actual headers in target documentation files.
@jerop jerop enabled auto-merge March 5, 2026 18:52
@gemini-cli gemini-cli bot added the status/need-issue Pull requests that need to have an associated issue. label Mar 5, 2026
@jerop jerop added this pull request to the merge queue Mar 5, 2026
Merged via the queue into main with commit f47cb3c Mar 5, 2026
26 of 27 checks passed
@jerop jerop deleted the fix/plan-mode-links branch March 5, 2026 19:24
@chrstnb
Copy link
Copy Markdown
Contributor

chrstnb commented Mar 5, 2026

Build failed: Build process failed with link errors:

19:28:01 [ERROR] ✗ Found 5 invalid links in 4 files.
19:28:01   ├─ /docs/extensions/index.md - invalid link
19:28:01   └─ /docs/extensions/index.md - invalid link
19:28:01   └─ /plans/ - invalid link to custom page
19:28:01   └─ /plans/ - invalid link to custom page
19:28:01   └─ /plans/ - invalid link to custom page
19:28:01 [ERROR] [starlight-links-validator-integration] An unhandled error occurred while running the "astro:build:done" hook
    Some invalid links point to custom pages which cannot be validated, see the `exclude` option for more informations at https://starlight-links-validator.vercel.app/configuration#exclude

struckoff pushed a commit to struckoff/gemini-cli that referenced this pull request Mar 6, 2026
kunal-10-cloud pushed a commit to kunal-10-cloud/gemini-cli that referenced this pull request Mar 12, 2026
liamhelmer pushed a commit to badal-io/gemini-cli that referenced this pull request Mar 12, 2026
yashodipmore pushed a commit to yashodipmore/geemi-cli that referenced this pull request Mar 21, 2026
SUNDRAM07 pushed a commit to SUNDRAM07/gemini-cli that referenced this pull request Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/need-issue Pull requests that need to have an associated issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants