mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 05:52:35 +08:00
Combines infrastructure (PR 1) and getting-started content (PR 2) into a single reviewable PR. Infrastructure: - Platform type (legacy/new/all) in NavLink interface - PageVersionSwitcher banner for legacy-only and new-only pages - PlatformBadge component in SideNav with Legacy/New labels - Tabs hydration fix (SSR-safe useState + useEffect) - _app.tsx reads frontmatter.platform and renders banner Getting Started pages with tab content: - quickstart.md: Auth flow, kilo run --auto, config overview - setup-authentication.md: Tabbed auth flows per platform - settings/index.md: Config locations, precedence, export/import - auto-approving-actions.md: Per-tool permission system Platform markers: - settings/auto-cleanup.md: platform: legacy (frontmatter + nav) - settings/system-notifications.md: platform: legacy (frontmatter + nav) Fixes from code validation and PR review: - Remove false Variable Substitution section (does not exist) - Replace misleading provider env config format - Fix 'most tools prompt for approval' (default is mostly allow) - Add warning about secrets in kilo.json for version control - Fix experimental features tab referencing VSCode instead of Legacy
80 lines
2.5 KiB
TypeScript
80 lines
2.5 KiB
TypeScript
import { NavSection } from "../types"
|
|
|
|
export const GettingStartedNav: NavSection[] = [
|
|
{
|
|
title: "Introduction",
|
|
links: [
|
|
{ href: "/getting-started", children: "Overview" },
|
|
{ href: "/getting-started/installing", children: "Installation" },
|
|
{ href: "/getting-started/quickstart", children: "Quickstart" },
|
|
],
|
|
},
|
|
{
|
|
title: "Configuration",
|
|
links: [
|
|
{
|
|
href: "/getting-started/setup-authentication",
|
|
children: "Setup & Authentication",
|
|
},
|
|
{
|
|
href: "/getting-started/using-kilo-for-free",
|
|
children: "Using Kilo for Free",
|
|
},
|
|
{
|
|
href: "/getting-started/byok",
|
|
children: "Bring Your Own Key (BYOK)",
|
|
},
|
|
{ href: "/ai-providers", children: "AI Providers" },
|
|
{
|
|
href: "/getting-started/settings",
|
|
children: "Settings",
|
|
subLinks: [
|
|
{ href: "/getting-started/settings/auto-approving-actions", children: "Auto-Approving Actions" },
|
|
{ href: "/getting-started/settings/auto-cleanup", children: "Auto Cleanup", platform: "legacy" },
|
|
{
|
|
href: "/getting-started/settings/system-notifications",
|
|
children: "System Notifications",
|
|
platform: "legacy",
|
|
},
|
|
],
|
|
},
|
|
{ href: "/getting-started/adding-credits", children: "Adding Credits" },
|
|
{ href: "/getting-started/rate-limits-and-costs", children: "Rate Limits and Costs" },
|
|
],
|
|
},
|
|
{
|
|
title: "Help",
|
|
links: [
|
|
{
|
|
href: "/getting-started/faq",
|
|
children: "FAQ",
|
|
subLinks: [
|
|
{ href: "/getting-started/faq/general", children: "General" },
|
|
{ href: "/getting-started/faq/setup-and-installation", children: "Setup and Installation" },
|
|
{ href: "/getting-started/faq/credits-and-billing", children: "Credits and Billing" },
|
|
{ href: "/getting-started/faq/account-and-integration", children: "Account and Integration" },
|
|
{ href: "/getting-started/faq/known-issues", children: "Known Issues" },
|
|
],
|
|
},
|
|
{
|
|
href: "/getting-started/migrating",
|
|
children: "Migrating from Cursor",
|
|
},
|
|
{
|
|
href: "/getting-started/troubleshooting",
|
|
children: "Troubleshooting",
|
|
subLinks: [
|
|
{
|
|
href: "/getting-started/troubleshooting/troubleshooting-extension",
|
|
children: "Extension Troubleshooting",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
href: "/getting-started/using-docs-with-agents",
|
|
children: "Using Docs with Agents",
|
|
},
|
|
],
|
|
},
|
|
]
|