Skip to content

fix: docs api reference card target to prevent 404#7

Merged
raphaelsalaja merged 2 commits intomainfrom
copilot/fix-api-reference-404s
Apr 23, 2026
Merged

fix: docs api reference card target to prevent 404#7
raphaelsalaja merged 2 commits intomainfrom
copilot/fix-api-reference-404s

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 23, 2026

The docs landing page linked “API Reference” to a non-existent route (/api/sounds), causing a 404 from the primary entry point to API docs. This update points that card to an existing API page so navigation lands on valid documentation.

  • Root cause

    • apps/web/content/docs/index.mdx referenced /api/sounds, but the API docs are organized under concrete child pages (for example, /api/sounds/define-sound).
  • Change made

    • Updated the Overview page “API Reference” card link to a valid route:
      • from /api/sounds
      • to /api/sounds/define-sound
  • Code change

    - <Card href="/api/sounds" title="API Reference" description="Full API documentation." />
    + <Card href="/api/sounds/define-sound" title="API Reference" description="Full API documentation." />
  • screenshot

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/audio/audio/apps/web/node_modules/.bin/../next/dist/bin/next build (dns block)
    • Triggering command: /opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node /home/REDACTED/work/audio/audio/node_modules/.pnpm/next@16.1.6_@opentelemetry&#43;api@1.9.0_react-dom@19.2.4_react@19.2.4__react@19.2.4_sass@1.97.3/node_modules/next/dist/server/lib/start-server.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI linked an issue Apr 23, 2026 that may be closed by this pull request
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
audio Ready Ready Preview, Comment Apr 23, 2026 10:06am

Request Review

Copilot AI changed the title [WIP] Fix API Reference 404 error on documentation page Fix docs “API Reference” card target to prevent 404 Apr 23, 2026
Copilot AI requested a review from raphaelsalaja April 23, 2026 10:07
@raphaelsalaja raphaelsalaja changed the title Fix docs “API Reference” card target to prevent 404 fix: docs api reference card target to prevent 404 Apr 23, 2026
@raphaelsalaja raphaelsalaja marked this pull request as ready for review April 23, 2026 12:08
Copilot AI review requested due to automatic review settings April 23, 2026 12:08
@raphaelsalaja raphaelsalaja merged commit a9b2e03 into main Apr 23, 2026
5 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes a broken “API Reference” card link on the docs landing page by pointing it at an existing API documentation page, avoiding a 404 from the primary docs entry point.

Changes:

  • Updated the Overview page “API Reference” card target from /api/sounds to /api/sounds/define-sound.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API Reference 404s

3 participants