From c2d078396502232d0a3796e52e5f10fa96ec6ebe Mon Sep 17 00:00:00 2001 From: Jenna Inouye Date: Mon, 26 Jan 2026 13:19:27 -0800 Subject: [PATCH] Docs: Refactor left nav on the website (#17558) --- docs/sidebar.json | 307 +++++++++------------------------------- docs/troubleshooting.md | 3 - 2 files changed, 67 insertions(+), 243 deletions(-) diff --git a/docs/sidebar.json b/docs/sidebar.json index ec16cf8444..f033bafa36 100644 --- a/docs/sidebar.json +++ b/docs/sidebar.json @@ -1,187 +1,52 @@ [ - { - "label": "Overview", - "items": [ - { - "label": "Introduction", - "slug": "docs" - }, - { - "label": "Architecture overview", - "slug": "docs/architecture" - }, - { - "label": "Contribution guide", - "slug": "docs/contributing" - } - ] - }, { "label": "Get started", "items": [ - { - "label": "Gemini CLI quickstart", - "slug": "docs/get-started" - }, - { - "label": "Gemini 3 on Gemini CLI", - "slug": "docs/get-started/gemini-3" - }, - { - "label": "Authentication", - "slug": "docs/get-started/authentication" - }, - { - "label": "Configuration", - "slug": "docs/get-started/configuration" - }, - { - "label": "Installation", - "slug": "docs/get-started/installation" - }, - { - "label": "Examples", - "slug": "docs/get-started/examples" - } + { "label": "Overview", "slug": "docs" }, + { "label": "Quickstart", "slug": "docs/get-started" }, + { "label": "Installation", "slug": "docs/get-started/installation" }, + { "label": "Authentication", "slug": "docs/get-started/authentication" }, + { "label": "Examples", "slug": "docs/get-started/examples" }, + { "label": "Gemini 3 (preview)", "slug": "docs/get-started/gemini-3" } ] }, { - "label": "CLI", + "label": "Use Gemini CLI", "items": [ - { - "label": "Introduction", - "slug": "docs/cli" - }, - { - "label": "Commands", - "slug": "docs/cli/commands" - }, - { - "label": "Checkpointing", - "slug": "docs/cli/checkpointing" - }, - { - "label": "Custom commands", - "slug": "docs/cli/custom-commands" - }, - { - "label": "Enterprise", - "slug": "docs/cli/enterprise" - }, - { - "label": "Headless mode", - "slug": "docs/cli/headless" - }, - { - "label": "Keyboard shortcuts", - "slug": "docs/cli/keyboard-shortcuts" - }, - { - "label": "Model selection", - "slug": "docs/cli/model" - }, - { - "label": "Sandbox", - "slug": "docs/cli/sandbox" - }, - { - "label": "Session Management", - "slug": "docs/cli/session-management" - }, - { - "label": "Agent Skills", - "slug": "docs/cli/skills" - }, - { - "label": "Settings", - "slug": "docs/cli/settings" - }, - { - "label": "Telemetry", - "slug": "docs/cli/telemetry" - }, - { - "label": "Themes", - "slug": "docs/cli/themes" - }, - { - "label": "Token caching", - "slug": "docs/cli/token-caching" - }, - { - "label": "Trusted Folders", - "slug": "docs/cli/trusted-folders" - }, - { - "label": "Tutorials", - "slug": "docs/cli/tutorials" - }, - { - "label": "Uninstall", - "slug": "docs/cli/uninstall" - }, - { - "label": "System prompt override", - "slug": "docs/cli/system-prompt" - } + { "label": "Using the CLI", "slug": "docs/cli" }, + { "label": "File management", "slug": "docs/tools/file-system" }, + { "label": "Memory management", "slug": "docs/tools/memory" }, + { "label": "Project context (GEMINI.md)", "slug": "docs/cli/gemini-md" }, + { "label": "Shell commands", "slug": "docs/tools/shell" }, + { "label": "Session management", "slug": "docs/cli/session-management" }, + { "label": "Todos", "slug": "docs/tools/todos" }, + { "label": "Web search and fetch", "slug": "docs/tools/web-search" } ] }, { - "label": "Core", + "label": "Configuration", "items": [ { - "label": "Introduction", - "slug": "docs/core" + "label": "Ignore files (.geminiignore)", + "slug": "docs/cli/gemini-ignore" }, - { - "label": "Tools API", - "slug": "docs/core/tools-api" - }, - { - "label": "Memory Import Processor", - "slug": "docs/core/memport" - }, - { - "label": "Policy Engine", - "slug": "docs/core/policy-engine" - } + { "label": "Model selection", "slug": "docs/cli/model" }, + { "label": "Settings", "slug": "docs/cli/settings" }, + { "label": "Themes", "slug": "docs/cli/themes" }, + { "label": "Token caching", "slug": "docs/cli/token-caching" }, + { "label": "Trusted folders", "slug": "docs/cli/trusted-folders" } ] }, { - "label": "Tools", + "label": "Advanced features", "items": [ - { - "label": "Introduction", - "slug": "docs/tools" - }, - { - "label": "File system", - "slug": "docs/tools/file-system" - }, - { - "label": "Shell", - "slug": "docs/tools/shell" - }, - { - "label": "Web fetch", - "slug": "docs/tools/web-fetch" - }, - { - "label": "Web search", - "slug": "docs/tools/web-search" - }, - { - "label": "Memory", - "slug": "docs/tools/memory" - }, - { - "label": "Todos", - "slug": "docs/tools/todos" - }, - { - "label": "MCP servers", - "slug": "docs/tools/mcp-server" - } + { "label": "Checkpointing", "slug": "docs/cli/checkpointing" }, + { "label": "Custom commands", "slug": "docs/cli/custom-commands" }, + { "label": "Enterprise features", "slug": "docs/cli/enterprise" }, + { "label": "Headless mode & scripting", "slug": "docs/cli/headless" }, + { "label": "Sandboxing", "slug": "docs/cli/sandbox" }, + { "label": "System prompt override", "slug": "docs/cli/system-prompt" }, + { "label": "Telemetry", "slug": "docs/cli/telemetry" } ] }, { @@ -210,96 +75,58 @@ ] }, { - "label": "Hooks (experimental)", + "label": "Ecosystem and extensibility", "items": [ - { - "label": "Introduction", - "slug": "docs/hooks" - }, - { - "label": "Writing hooks", - "slug": "docs/hooks/writing-hooks" - }, - { - "label": "Hooks reference", - "slug": "docs/hooks/reference" - }, - { - "label": "Best practices", - "slug": "docs/hooks/best-practices" - } + { "label": "Agent skills (experimental)", "slug": "docs/cli/skills" }, + { "label": "Hooks (experimental)", "slug": "docs/hooks" }, + { "label": "IDE integration", "slug": "docs/ide-integration" }, + { "label": "MCP servers", "slug": "docs/tools/mcp-server" } ] }, { - "label": "IDE integration", + "label": "Tutorials", "items": [ { - "label": "Introduction", - "slug": "docs/ide-integration" + "label": "Get started with extensions", + "slug": "docs/extensions/getting-started-extensions" }, - { - "label": "IDE companion spec", - "slug": "docs/ide-integration/ide-companion-spec" - } + { "label": "How to write hooks", "slug": "docs/hooks/writing-hooks" } + ] + }, + { + "label": "Reference", + "items": [ + { "label": "Architecture", "slug": "docs/architecture" }, + { "label": "Command reference", "slug": "docs/cli/commands" }, + { "label": "Configuration", "slug": "docs/get-started/configuration" }, + { "label": "Keyboard shortcuts", "slug": "docs/cli/keyboard-shortcuts" }, + { "label": "Memory import processor", "slug": "docs/core/memport" }, + { "label": "Policy engine", "slug": "docs/core/policy-engine" }, + { "label": "Tools API", "slug": "docs/core/tools-api" } + ] + }, + { + "label": "Resources", + "items": [ + { "label": "FAQ", "slug": "docs/faq" }, + { "label": "Quota and pricing", "slug": "docs/quota-and-pricing" }, + { "label": "Release notes", "slug": "docs/changelogs/" }, + { "label": "Terms and privacy", "slug": "docs/tos-privacy" }, + { "label": "Troubleshooting", "slug": "docs/troubleshooting" }, + { "label": "Uninstall", "slug": "docs/cli/uninstall" } ] }, { "label": "Development", "items": [ - { - "label": "NPM", - "slug": "docs/npm" - }, - { - "label": "Releases", - "slug": "docs/releases" - }, - { - "label": "Integration tests", - "slug": "docs/integration-tests" - }, + { "label": "Contribution guide", "slug": "docs/CONTRIBUTING" }, + { "label": "Integration testing", "slug": "docs/integration-tests" }, { "label": "Issue and PR automation", "slug": "docs/issue-and-pr-automation" - } - ] - }, - { - "label": "Releases", - "items": [ - { - "label": "Release notes", - "slug": "docs/changelogs/" }, - { - "label": "Latest release", - "slug": "docs/changelogs/latest" - }, - { - "label": "Preview release", - "slug": "docs/changelogs/preview" - } - ] - }, - { - "label": "Support", - "items": [ - { - "label": "FAQ", - "slug": "docs/faq" - }, - { - "label": "Troubleshooting", - "slug": "docs/troubleshooting" - }, - { - "label": "Quota and pricing", - "slug": "docs/quota-and-pricing" - }, - { - "label": "Terms of service", - "slug": "docs/tos-privacy" - } + { "label": "Local development", "slug": "docs/local-development" }, + { "label": "NPM package structure", "slug": "docs/npm" } ] } ] diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 515099934a..f700d0b74f 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -34,9 +34,6 @@ topics on: list of supported locations, see the following pages: - Gemini Code Assist for individuals: [Available locations](https://developers.google.com/gemini-code-assist/resources/available-locations#americas) - - Google AI Pro and Ultra where Gemini Code Assist (and Gemini CLI) is also - available: - [Available locations](https://developers.google.com/gemini-code-assist/resources/locations-pro-ultra) - **Error: `Failed to login. Message: Request contains an invalid argument`** - **Cause:** Users with Google Workspace accounts or Google Cloud accounts