diff --git a/src/data/navigation.ts b/src/data/navigation.ts index 8e8f3e2da..39759151e 100644 --- a/src/data/navigation.ts +++ b/src/data/navigation.ts @@ -24,356 +24,583 @@ export type VersionNavigations = Record; export const navigation: NavigationItem[] = [ { - separator: "Code Intelligence", + separator: 'Code Intelligence', topics: [ { - title: "Cody", - href: "/cody", + title: 'Cody', + href: '/cody', sections: [ - { title: "Quickstart", href: "/cody/quickstart" }, + {title: 'Quickstart', href: '/cody/quickstart'}, { - title: "Installation", href: "/cody/clients", + title: 'Installation', + href: '/cody/clients', subsections: [ - { title: "Cody for VS Code", href: "/cody/clients/install-vscode", }, - { title: "Cody for JetBrains", href: "/cody/clients/install-jetbrains", }, - { title: "Cody for Visual Studio", href: "/cody/clients/install-visual-studio", }, + { + title: 'Cody for VS Code', + href: '/cody/clients/install-vscode' + }, + { + title: 'Cody for JetBrains', + href: '/cody/clients/install-jetbrains' + }, + { + title: 'Cody for Visual Studio', + href: '/cody/clients/install-visual-studio' + }, // { title: "Cody for Eclipse", href: "/cody/clients/install-eclipse", }, - { title: "Cody for Web", href: "/cody/clients/cody-with-sourcegraph", }, + { + title: 'Cody for Web', + href: '/cody/clients/cody-with-sourcegraph' + } ] }, { - title: "Cody for Enterprise", href: "/cody/clients/enable-cody-enterprise", + title: 'Cody for Enterprise', + href: '/cody/clients/enable-cody-enterprise', subsections: [ - { title: "Features", href: "/cody/enterprise/features", }, - { title: "Completions Configuration", href: "/cody/enterprise/completions-configuration", }, - { title: "Model Configuration", href: "/cody/enterprise/model-configuration", }, - { title: "modelConfiguration examples", href: "/cody/enterprise/model-config-examples", }, + { + title: 'Features', + href: '/cody/enterprise/features' + }, + { + title: 'Completions Configuration', + href: '/cody/enterprise/completions-configuration' + }, + { + title: 'Model Configuration', + href: '/cody/enterprise/model-configuration' + }, + { + title: 'modelConfiguration examples', + href: '/cody/enterprise/model-config-examples' + } ] }, { - title: "Capabilities", href: "/cody/capabilities", + title: 'Capabilities', + href: '/cody/capabilities', subsections: [ - { title: "Chat", href: "/cody/capabilities/chat", }, - { title: "Agentic Context Fetching", href: "/cody/capabilities/agentic-context-fetching", }, - { title: "Autocomplete", href: "/cody/capabilities/autocomplete", }, - { title: "Auto-edit", href: "/cody/capabilities/auto-edit", }, - { title: "Prompts", href: "/cody/capabilities/prompts", }, - { title: "OpenCtx", href: "/cody/capabilities/openctx", }, - { title: "Debug Code", href: "/cody/capabilities/debug-code", }, - { title: "Context Filters", href: "/cody/capabilities/ignore-context", }, - { title: "Proxy Setup", href: "/cody/capabilities/proxy-setup", }, - { title: "Supported Models", href: "/cody/capabilities/supported-models", }, - { title: "Feature Parity Reference", href: "/cody/clients/feature-reference", }, + {title: 'Chat', href: '/cody/capabilities/chat'}, + { + title: 'Agentic Context Fetching', + href: '/cody/capabilities/agentic-context-fetching' + }, + { + title: 'Autocomplete', + href: '/cody/capabilities/autocomplete' + }, + { + title: 'Auto-edit', + href: '/cody/capabilities/auto-edit' + }, + { + title: 'Prompts', + href: '/cody/capabilities/prompts' + }, + { + title: 'OpenCtx', + href: '/cody/capabilities/openctx' + }, + { + title: 'Debug Code', + href: '/cody/capabilities/debug-code' + }, + { + title: 'Context Filters', + href: '/cody/capabilities/ignore-context' + }, + { + title: 'Proxy Setup', + href: '/cody/capabilities/proxy-setup' + }, + { + title: 'Supported Models', + href: '/cody/capabilities/supported-models' + }, + { + title: 'Feature Parity Reference', + href: '/cody/clients/feature-reference' + } ] }, { - title: "Core Concepts", href: "/cody/core-concepts/context", + title: 'Core Concepts', + href: '/cody/core-concepts/context', subsections: [ - { title: "Context", href: "/cody/core-concepts/context", }, - { title: "Token Limits", href: "/cody/core-concepts/token-limits", }, - { title: "Prompts Guide", href: "/cody/prompts-guide", }, + { + title: 'Context', + href: '/cody/core-concepts/context' + }, + { + title: 'Token Limits', + href: '/cody/core-concepts/token-limits' + }, + { + title: 'Prompts Guide', + href: '/cody/prompts-guide' + }, // { title: "Embeddings", href: "/cody/core-concepts/embeddings", }, // { title: "Keyword Search", href: "/cody/core-concepts/keyword-search", }, // { title: "Code Graph", href: "/cody/core-concepts/code-graph", }, - { title: "Cody Gateway", href: "/cody/core-concepts/cody-gateway", }, - { title: "Enterprise Architecture", href: "/cody/core-concepts/enterprise-architecture", }, + { + title: 'Cody Gateway', + href: '/cody/core-concepts/cody-gateway' + }, + { + title: 'Enterprise Architecture', + href: '/cody/core-concepts/enterprise-architecture' + } ] }, - { title: "Usage and Pricing", href: "/cody/usage-and-pricing" }, - { title: "Troubleshooting", href: "/cody/troubleshooting" }, - { title: "FAQs", href: "/cody/faq" }, - ], + { + title: 'Usage and Pricing', + href: '/cody/usage-and-pricing' + }, + {title: 'Troubleshooting', href: '/cody/troubleshooting'}, + {title: 'FAQs', href: '/cody/faq'} + ] }, { - title: "Code Search", - href: "/code-search", + title: 'Code Search', + href: '/code-search', sections: [ - { title: "Features", href: "/code-search/features" }, + {title: 'Features', href: '/code-search/features'}, { - title: "Search Query Syntax", href: "/code-search/queries", + title: 'Search Query Syntax', + href: '/code-search/queries', subsections: [ - { title: "Search Filters Panel", href: "/code-search/working/search_filters", }, - { title: "Search Examples", href: "/code-search/queries/examples", }, - { title: "Symbol Search", href: "/code-search/types/symbol", }, - { title: "Language Reference", href: "/code-search/queries/language", }, + { + title: 'Search Filters Panel', + href: '/code-search/working/search_filters' + }, + { + title: 'Search Examples', + href: '/code-search/queries/examples' + }, + { + title: 'Symbol Search', + href: '/code-search/types/symbol' + }, + { + title: 'Language Reference', + href: '/code-search/queries/language' + } ] }, { - title: "Code Navigation", href: "/code-search/code-navigation", + title: 'Code Navigation', + href: '/code-search/code-navigation', subsections: [ - { title: "Features", href: "/code-search/code-navigation/features", }, - { title: "Search-based code navigation", href: "/code-search/code-navigation/search_based_code_navigation", }, - { title: "Precise code navigation", href: "/code-search/code-navigation/precise_code_navigation", }, - { title: "Syntactic code navigation", href: "/code-search/code-navigation/syntactic_code_navigation", }, - { title: "Auto-indexing", href: "/code-search/code-navigation/auto_indexing", }, - { title: "Environment Variables", href: "/code-search/code-navigation/envvars", }, - { title: "Troubleshooting", href: "/code-search/code-navigation/troubleshooting", }, + { + title: 'Features', + href: '/code-search/code-navigation/features' + }, + { + title: 'Search-based code navigation', + href: '/code-search/code-navigation/search_based_code_navigation' + }, + { + title: 'Precise code navigation', + href: '/code-search/code-navigation/precise_code_navigation' + }, + { + title: 'Syntactic code navigation', + href: '/code-search/code-navigation/syntactic_code_navigation' + }, + { + title: 'Auto-indexing', + href: '/code-search/code-navigation/auto_indexing' + }, + { + title: 'Environment Variables', + href: '/code-search/code-navigation/envvars' + }, + { + title: 'Troubleshooting', + href: '/code-search/code-navigation/troubleshooting' + } ] }, { - title: "Advanced Features", href: "/code-search/working/saved_searches", + title: 'Advanced Features', + href: '/code-search/working/saved_searches', subsections: [ - { title: "Fuzzy Finder", href: "/code-search/types/fuzzy", }, - { title: "Search Contexts", href: "/code-search/working/search_contexts", }, - { title: "Search Jobs", href: "/code-search/types/search-jobs", }, - { title: "Search Snippets", href: "/code-search/working/snippets", }, - { title: "Search Subexpressions", href: "/code-search/working/search_subexpressions", }, - { title: "Saved Searches", href: "/code-search/working/saved_searches", }, - { title: "Structural Search", href: "/code-search/types/structural", }, - { title: "Deep Search", href: "/code-search/types/deep-search", }, + { + title: 'Fuzzy Finder', + href: '/code-search/types/fuzzy' + }, + { + title: 'Search Contexts', + href: '/code-search/working/search_contexts' + }, + { + title: 'Search Jobs', + href: '/code-search/types/search-jobs' + }, + { + title: 'Search Snippets', + href: '/code-search/working/snippets' + }, + { + title: 'Search Subexpressions', + href: '/code-search/working/search_subexpressions' + }, + { + title: 'Saved Searches', + href: '/code-search/working/saved_searches' + }, + { + title: 'Structural Search', + href: '/code-search/types/structural' + }, + { + title: 'Deep Search', + href: '/code-search/types/deep-search' + } ] }, { - title: "FAQs", href: "/code-search/faq", - }, - ], - }, - ], + title: 'FAQs', + href: '/code-search/faq' + } + ] + } + ] }, { - separator: "Code Management", + separator: 'Code Management', topics: [ { - title: "Batch Changes", - href: "/batch-changes", + title: 'Batch Changes', + href: '/batch-changes', sections: [ - { title: "Quickstart", href: "/batch-changes/quickstart" }, + {title: 'Quickstart', href: '/batch-changes/quickstart'}, { - title: "Create a Batch Change", href: "/batch-changes/create-a-batch-change", + title: 'Create a Batch Change', + href: '/batch-changes/create-a-batch-change', subsections: [ - { title: "Update a Batch Change", href: "/batch-changes/update-a-batch-change", }, - { title: "Close a Batch Change", href: "/batch-changes/delete-a-batch-change", }, - { title: "Run Server Side", href: "/batch-changes/server-side", }, - + { + title: 'Update a Batch Change', + href: '/batch-changes/update-a-batch-change' + }, + { + title: 'Close a Batch Change', + href: '/batch-changes/delete-a-batch-change' + }, + { + title: 'Run Server Side', + href: '/batch-changes/server-side' + } ] }, { - title: "Bulk Operations", href: "/batch-changes/bulk-operations-on-changesets", + title: 'Bulk Operations', + href: '/batch-changes/bulk-operations-on-changesets', subsections: [ - { title: "Publishing Changesets", href: "/batch-changes/publishing-changesets", }, - { title: "Pushing Code", href: "/batch-changes/push-only-changesets", }, - { title: "Tracking Changesets", href: "/batch-changes/tracking-existing-changesets", }, - { title: "Rebasing Changesets", href: "/batch-changes/rebasing-changesets", }, - + { + title: 'Publishing Changesets', + href: '/batch-changes/publishing-changesets' + }, + { + title: 'Pushing Code', + href: '/batch-changes/push-only-changesets' + }, + { + title: 'Tracking Changesets', + href: '/batch-changes/tracking-existing-changesets' + }, + { + title: 'Rebasing Changesets', + href: '/batch-changes/rebasing-changesets' + } ] }, { - title: "Configuring Credentials", href: "/batch-changes/configuring-credentials", + title: 'Configuring Credentials', + href: '/batch-changes/configuring-credentials', subsections: [ - { title: "Site Admin Config", href: "/batch-changes/site-admin-configuration", }, + { + title: 'Site Admin Config', + href: '/batch-changes/site-admin-configuration' + } ] }, - { title: "Access Permissions", href: "/batch-changes/permissions-in-batch-changes" }, { - title: "Changesets in Monorepos", href: "/batch-changes/creating-changesets-per-project-in-monorepos", + title: 'Access Permissions', + href: '/batch-changes/permissions-in-batch-changes' + }, + { + title: 'Changesets in Monorepos', + href: '/batch-changes/creating-changesets-per-project-in-monorepos', subsections: [ - { title: "Changesets in Large Repos", href: "/batch-changes/creating-multiple-changesets-in-large-repositories", }, + { + title: 'Changesets in Large Repos', + href: '/batch-changes/creating-multiple-changesets-in-large-repositories' + } ] }, - { title: "Error Handling", href: "/batch-changes/handling-errored-changesets" }, { - title: "Examples", href: "/batch-changes/examples", + title: 'Error Handling', + href: '/batch-changes/handling-errored-changesets' + }, + { + title: 'Examples', + href: '/batch-changes/examples', subsections: [ - { title: "Refactor Go Code via Comby", href: "/batch-changes/refactor-go-comby", }, - { title: "Update Go Import Statements via Comby", href: "/batch-changes/updating-go-import-statements", }, - { title: "Update Base Images in Dockerfiles", href: "/batch-changes/update-base-images-in-dockerfiles", }, - { title: "Search and Replace Specific Terms", href: "/batch-changes/search-and-replace-specific-terms", }, + { + title: 'Refactor Go Code via Comby', + href: '/batch-changes/refactor-go-comby' + }, + { + title: 'Update Go Import Statements via Comby', + href: '/batch-changes/updating-go-import-statements' + }, + { + title: 'Update Base Images in Dockerfiles', + href: '/batch-changes/update-base-images-in-dockerfiles' + }, + { + title: 'Search and Replace Specific Terms', + href: '/batch-changes/search-and-replace-specific-terms' + } ] }, { - title: "Batch Spec Reference", href: "/batch-changes/batch-spec-yaml-reference", + title: 'Batch Spec Reference', + href: '/batch-changes/batch-spec-yaml-reference', subsections: [ - { title: "Batch Spec Templating", href: "/batch-changes/batch-spec-templating", }, - { title: "Batch Spec Cheatsheet", href: "/batch-changes/batch-spec-cheat-sheet", }, + { + title: 'Batch Spec Templating', + href: '/batch-changes/batch-spec-templating' + }, + { + title: 'Batch Spec Cheatsheet', + href: '/batch-changes/batch-spec-cheat-sheet' + } ] }, { - title: "Working with the CLI", href: "/batch-changes/how-src-executes-a-batch-spec", + title: 'Working with the CLI', + href: '/batch-changes/how-src-executes-a-batch-spec', subsections: [ - { title: "Re-executing Batch Specs", href: "/batch-changes/reexecuting-batch-specs-multiple-times", }, - { title: "CLI Subcommands", href: "/cli/references/batch", }, + { + title: 'Re-executing Batch Specs', + href: '/batch-changes/reexecuting-batch-specs-multiple-times' + }, + { + title: 'CLI Subcommands', + href: '/cli/references/batch' + } ] }, - { title: "Troubleshooting", href: "/batch-changes/troubleshooting" }, - { title: "FAQs", href: "/batch-changes/faq" }, - ], + { + title: 'Troubleshooting', + href: '/batch-changes/troubleshooting' + }, + {title: 'FAQs', href: '/batch-changes/faq'} + ] }, { - title: "Code Monitoring", - href: "/code_monitoring", + title: 'Code Monitoring', + href: '/code_monitoring', sections: [ - { title: "Quickstart", href: "/code_monitoring/quickstart" }, - { title: "Explanations", href: "/code_monitoring/explanations" }, - { title: "How-to Guides", href: "/code_monitoring/how-tos" }, - ], + {title: 'Quickstart', href: '/code_monitoring/quickstart'}, + { + title: 'Explanations', + href: '/code_monitoring/explanations' + }, + {title: 'How-to Guides', href: '/code_monitoring/how-tos'} + ] }, { - title: "Code Ownership", - href: "/own", + title: 'Code Ownership', + href: '/own', sections: [ - { title: "CODEOWNERS Format", href: "/own/codeowners_format" }, - { title: "CODEOWNERS Ingestion", href: "/own/codeowners_ingestion" }, - { title: "Configuration Reference", href: "/own/configuration_reference" }, - { title: "Assigned Ownership", href: "/own/assigned_ownership" }, - - ], + { + title: 'CODEOWNERS Format', + href: '/own/codeowners_format' + }, + { + title: 'CODEOWNERS Ingestion', + href: '/own/codeowners_ingestion' + }, + { + title: 'Configuration Reference', + href: '/own/configuration_reference' + }, + { + title: 'Assigned Ownership', + href: '/own/assigned_ownership' + } + ] }, { - title: "Code Insights", - href: "/code_insights", + title: 'Code Insights', + href: '/code_insights', sections: [ - { title: "Quickstart", href: "/code_insights/quickstart" }, - { title: "Explanations", href: "/code_insights/explanations" }, - { title: "How-to Guides", href: "/code_insights/how-tos" }, - { title: "References", href: "/code_insights/references" }, - ], - }, - ], + {title: 'Quickstart', href: '/code_insights/quickstart'}, + { + title: 'Explanations', + href: '/code_insights/explanations' + }, + {title: 'How-to Guides', href: '/code_insights/how-tos'}, + {title: 'References', href: '/code_insights/references'} + ] + } + ] }, { - separator: "Platform", + separator: 'Platform', topics: [ { - title: "Sourcegraph Admin", - href: "/admin", + title: 'Sourcegraph Admin', + href: '/admin', sections: [ - { title: "Deploy", href: "/admin/deploy" }, - { title: "Architecture", href: "/admin/architecture" }, - { title: "Upgrade", href: "/admin/updates" }, - { title: "Configuration", href: "/admin/config" }, - { title: "Licensing", href: "/admin/licensing" }, - { title: "Codehosts", href: "/admin/code_hosts" }, - { title: "User Authentication", href: "/admin/auth" }, - { title: "Access Control", href: "/admin/access_control" }, - { title: "Repository Permissions", href: "/admin/permissions" }, - { title: "Observability", href: "/admin/observability" }, - { title: "Analytics", href: "/admin/analytics" }, - { title: "Executors", href: "/admin/executors" }, - { title: "FAQs", href: "/admin/faq" }, - { title: "Troubleshooting", href: "/admin/troubleshooting" }, - { title: "How-to Guides", href: "/admin/how-to" }, + {title: 'Deploy', href: '/admin/deploy'}, + {title: 'Architecture', href: '/admin/architecture'}, + {title: 'Upgrade', href: '/admin/updates'}, + {title: 'Configuration', href: '/admin/config'}, + {title: 'Licensing', href: '/admin/licensing'}, + {title: 'Codehosts', href: '/admin/code_hosts'}, + {title: 'User Authentication', href: '/admin/auth'}, + {title: 'Access Control', href: '/admin/access_control'}, { - title: "Enterprise Getting Started", - href: "/admin/enterprise_getting_started_guide", + title: 'Repository Permissions', + href: '/admin/permissions' }, - ], + {title: 'Observability', href: '/admin/observability'}, + {title: 'Analytics', href: '/admin/analytics'}, + {title: 'Executors', href: '/admin/executors'}, + {title: 'FAQs', href: '/admin/faq'}, + {title: 'Troubleshooting', href: '/admin/troubleshooting'}, + {title: 'How-to Guides', href: '/admin/how-to'}, + { + title: 'Enterprise Getting Started', + href: '/admin/enterprise_getting_started_guide' + } + ] }, { - title: "Sourcegraph Analytics", - href: "/analytics", + title: 'Sourcegraph Analytics', + href: '/analytics', sections: [ - { title: "Metrics", href: "/analytics#metrics" }, - { title: "Cloud Analytics", href: "/analytics/cloud" }, - { title: "Air-Gapped Analytics", href: "/analytics/air-gapped" }, - ], + {title: 'Metrics', href: '/analytics#metrics'}, + {title: 'API', href: '/analytics/api'}, + { + title: 'Air-Gapped Analytics', + href: '/analytics/air-gapped' + } + ] }, { - title: "Sourcegraph Cloud", - href: "/cloud", + title: 'Sourcegraph Cloud', + href: '/cloud' }, { - title: "Integrations", - href: "/integration", + title: 'Integrations', + href: '/integration', sections: [ { - title: "Browser Extension", - href: "/integration/browser_extension", + title: 'Browser Extension', + href: '/integration/browser_extension' }, - { title: "Editors", href: "/integration/editor" }, + {title: 'Editors', href: '/integration/editor'}, { - title: "Browser Search Engine", - href: "/integration/browser_extension/how-tos/browser_search_engine", - }, - ], - }, - ], + title: 'Browser Search Engine', + href: '/integration/browser_extension/how-tos/browser_search_engine' + } + ] + } + ] }, { - separator: "CLI & API", + separator: 'CLI & API', topics: [ { - title: "Sourcegraph & Cody CLI", - href: "/cli", + title: 'Sourcegraph & Cody CLI', + href: '/cli', sections: [ - { title: "Quickstart", href: "/cli/quickstart" }, - { title: "Explanations", href: "/cli/explanations" }, - { title: "How-to Guides", href: "/cli/how-tos" }, - { title: "References", href: "/cli/references" }, - { title: "Cody CLI", href: "/cody/clients/install-cli", }, - - ], + {title: 'Quickstart', href: '/cli/quickstart'}, + {title: 'Explanations', href: '/cli/explanations'}, + {title: 'How-to Guides', href: '/cli/how-tos'}, + {title: 'References', href: '/cli/references'}, + {title: 'Cody CLI', href: '/cody/clients/install-cli'} + ] }, { - title: "Sourcegraph GraphQL API", - href: "/api/graphql", + title: 'Sourcegraph GraphQL API', + href: '/api/graphql' }, { - title: "Sourcegraph Stream API", - href: "/api/stream_api", - }, - ], + title: 'Sourcegraph Stream API', + href: '/api/stream_api' + } + ] }, { - separator: "Pricing", + separator: 'Pricing', topics: [ { - title: "Plans", - href: "/pricing/plans", + title: 'Plans', + href: '/pricing/plans', sections: [ - { title: "Free", href: "/pricing/plans/free" }, - { title: "Enterprise Starter", href: "/pricing/plans/enterprise-starter" }, - { title: "Enterprise", href: "/pricing/plans/enterprise" }, - ], + {title: 'Free', href: '/pricing/plans/free'}, + { + title: 'Enterprise Starter', + href: '/pricing/plans/enterprise-starter' + }, + {title: 'Enterprise', href: '/pricing/plans/enterprise'} + ] }, { - title: "Plan Comparison", - href: "/pricing/plan-comparison", + title: 'Plan Comparison', + href: '/pricing/plan-comparison' }, { - title: "FAQs", - href: "/pricing/faqs", - }, - ], + title: 'FAQs', + href: '/pricing/faqs' + } + ] }, { - separator: "Help & Support", + separator: 'Help & Support', topics: [ { - title: "SLAs & Premium Support", - href: "/sla", + title: 'SLAs & Premium Support', + href: '/sla' }, { - title: "How to videos", - href: "/how-to-videos", + title: 'How to videos', + href: '/how-to-videos', sections: [ - { title: "Code Search", href: "/how-to-videos/code-search" }, - { title: "Cody", href: "/how-to-videos/cody" }, - ], + {title: 'Code Search', href: '/how-to-videos/code-search'}, + {title: 'Cody', href: '/how-to-videos/cody'} + ] }, { - title: "Tutorials", - href: "/tutorials", + title: 'Tutorials', + href: '/tutorials' }, { - title: "Sourcegraph Accounts", - href: "/sourcegraph-accounts" + title: 'Sourcegraph Accounts', + href: '/sourcegraph-accounts' }, { - title: "Changelog", - href: "https://sourcegraph.com/changelog", + title: 'Changelog', + href: 'https://sourcegraph.com/changelog' }, { - title: "Technical changelog", - href: "/technical-changelog", + title: 'Technical changelog', + href: '/technical-changelog' }, { - title: "Releases", - href: "/releases", - }, - ], - }, + title: 'Releases', + href: '/releases' + } + ] + } ]; export const versionNavigations: VersionNavigations = { - navigation, // latest version -} + navigation // latest version +};