From 5c23f7f6e03abf1e92a77be31b5fca22cc504805 Mon Sep 17 00:00:00 2001 From: Jenna Inouye Date: Tue, 24 Feb 2026 13:12:53 -0800 Subject: [PATCH] Docs: Update UI links. (#20224) --- README.md | 2 +- packages/cli/src/config/settings-validation.test.ts | 5 ++--- packages/cli/src/config/settings-validation.ts | 4 +--- packages/cli/src/ui/auth/AuthDialog.tsx | 4 +--- .../cli/src/ui/auth/__snapshots__/AuthDialog.test.tsx.snap | 6 +++--- packages/vscode-ide-companion/README.md | 2 +- 6 files changed, 9 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 6e9b1da146..f44a2e238d 100644 --- a/README.md +++ b/README.md @@ -382,7 +382,7 @@ See the [Uninstall Guide](docs/cli/uninstall.md) for removal instructions. ## 📄 Legal - **License**: [Apache License 2.0](LICENSE) -- **Terms of Service**: [Terms & Privacy](./docs/tos-privacy.md) +- **Terms of Service**: [Terms & Privacy](./docs/resources/tos-privacy.md) - **Security**: [Security Policy](SECURITY.md) --- diff --git a/packages/cli/src/config/settings-validation.test.ts b/packages/cli/src/config/settings-validation.test.ts index 27b940ea53..baf9b5bbdb 100644 --- a/packages/cli/src/config/settings-validation.test.ts +++ b/packages/cli/src/config/settings-validation.test.ts @@ -324,7 +324,7 @@ describe('settings-validation', () => { expect(formatted).toContain('Expected: string, but received: object'); expect(formatted).toContain('Please fix the configuration.'); expect(formatted).toContain( - 'https://github.com/google-gemini/gemini-cli', + 'https://geminicli.com/docs/reference/configuration/', ); } }); @@ -364,9 +364,8 @@ describe('settings-validation', () => { const formatted = formatValidationError(result.error, 'test.json'); expect(formatted).toContain( - 'https://github.com/google-gemini/gemini-cli', + 'https://geminicli.com/docs/reference/configuration/', ); - expect(formatted).toContain('configuration.md'); } }); diff --git a/packages/cli/src/config/settings-validation.ts b/packages/cli/src/config/settings-validation.ts index 3207c2da2a..9921f6c6cc 100644 --- a/packages/cli/src/config/settings-validation.ts +++ b/packages/cli/src/config/settings-validation.ts @@ -327,9 +327,7 @@ export function formatValidationError( } lines.push('Please fix the configuration.'); - lines.push( - 'See: https://github.com/google-gemini/gemini-cli/blob/main/docs/get-started/configuration.md', - ); + lines.push('See: https://geminicli.com/docs/reference/configuration/'); return lines.join('\n'); } diff --git a/packages/cli/src/ui/auth/AuthDialog.tsx b/packages/cli/src/ui/auth/AuthDialog.tsx index ec107d1689..33652297b6 100644 --- a/packages/cli/src/ui/auth/AuthDialog.tsx +++ b/packages/cli/src/ui/auth/AuthDialog.tsx @@ -250,9 +250,7 @@ export function AuthDialog({ - { - 'https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md' - } + {'https://geminicli.com/docs/resources/tos-privacy/'} diff --git a/packages/cli/src/ui/auth/__snapshots__/AuthDialog.test.tsx.snap b/packages/cli/src/ui/auth/__snapshots__/AuthDialog.test.tsx.snap index 1874301cbd..2d341c405e 100644 --- a/packages/cli/src/ui/auth/__snapshots__/AuthDialog.test.tsx.snap +++ b/packages/cli/src/ui/auth/__snapshots__/AuthDialog.test.tsx.snap @@ -15,7 +15,7 @@ exports[`AuthDialog > Snapshots > renders correctly with auth error 1`] = ` │ │ │ Terms of Services and Privacy Notice for Gemini CLI │ │ │ -│ https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md │ +│ https://geminicli.com/docs/resources/tos-privacy/ │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ " @@ -34,7 +34,7 @@ exports[`AuthDialog > Snapshots > renders correctly with default props 1`] = ` │ │ │ Terms of Services and Privacy Notice for Gemini CLI │ │ │ -│ https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md │ +│ https://geminicli.com/docs/resources/tos-privacy/ │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ " @@ -53,7 +53,7 @@ exports[`AuthDialog > Snapshots > renders correctly with enforced auth type 1`] │ │ │ Terms of Services and Privacy Notice for Gemini CLI │ │ │ -│ https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md │ +│ https://geminicli.com/docs/resources/tos-privacy/ │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ " diff --git a/packages/vscode-ide-companion/README.md b/packages/vscode-ide-companion/README.md index 4765600221..c2e2591928 100644 --- a/packages/vscode-ide-companion/README.md +++ b/packages/vscode-ide-companion/README.md @@ -31,4 +31,4 @@ To use this extension, you'll need: # Terms of Service and Privacy Notice By installing this extension, you agree to the -[Terms of Service](https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md). +[Terms of Service](https://geminicli.com/docs/resources/tos-privacy/).