Docs: Update UI links. (#20224)

This commit is contained in:
Jenna Inouye
2026-02-24 13:12:53 -08:00
committed by GitHub
parent d47d4855db
commit 5c23f7f6e0
6 changed files with 9 additions and 14 deletions

View File

@@ -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)
---

View File

@@ -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');
}
});

View File

@@ -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');
}

View File

@@ -250,9 +250,7 @@ export function AuthDialog({
</Box>
<Box marginTop={1}>
<Text color={theme.text.link}>
{
'https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md'
}
{'https://geminicli.com/docs/resources/tos-privacy/'}
</Text>
</Box>
</Box>

View File

@@ -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/
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
"

View File

@@ -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/).