Skip to content

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

Merged
sestinj merged 1 commit into
mainfrom
docs/default-ide-extensions-and-favicon
Jun 15, 2026
Merged

docs: default to IDE Extensions section and add favicon#12636
sestinj merged 1 commit into
mainfrom
docs/default-ide-extensions-and-favicon

Conversation

@sestinj

@sestinj sestinj commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix the docs default section: findActiveTab in docs-site/components/docs/DocsShell.tsx previously returned the last nav tab (CLI) as the no-match fallback. The docs root (/) renders the index page whose slug isn't in any tab, so it hit this fallback and defaulted to CLI. Changed it to return the first tab (IDE Extensions). All sections remain present; CLI is still reachable.
  • Add docs-site/app/favicon.ico so /favicon.ico requests resolve via App Router metadata instead of falling through the optional catch-all route (which spammed a Next "missing param / output: export" error).

Test plan

  • npm run build in docs-site/ (Next static export, output: export) succeeds
  • favicon.ico emitted to out/ and referenced from generated HTML
  • DocsShell compiles cleanly

Using a docs: conventional-commit prefix so semantic-release does not cut a package release.

Made with Cursor

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>
@sestinj
sestinj requested a review from a team as a code owner June 15, 2026 19:29
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 15, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

@sestinj
sestinj merged commit 003b8b2 into main Jun 15, 2026
39 of 54 checks passed
@sestinj
sestinj deleted the docs/default-ide-extensions-and-favicon branch June 15, 2026 19:33
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant