docs: default to IDE Extensions section and add favicon (#12636)

Change the no-match fallback in DocsShell findActiveTab to return the
first nav tab (IDE Extensions) instead of the last (CLI), so the docs
root defaults to IDE Extensions. Add app/favicon.ico so /favicon.ico
requests resolve via App Router metadata instead of falling through the
optional catch-all route.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Nate Sesti 2026-06-15 12:33:18 -07:00 • committed by GitHub
parent ffff1f2033
commit 003b8b2c7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

BIN
docs-site/app/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -29,7 +29,7 @@ function findActiveTab(nav: NavTab[], slug: string) {
}
}
}
return nav[nav.length - 1];
return nav[0];
}
function slugToLabel(slug: string, titleMap?: Record<string, string>) {