fix: docs api reference card target to prevent 404#7
Merged
raphaelsalaja merged 2 commits intomainfrom Apr 23, 2026
Merged
Conversation
Closed
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
There was a problem hiding this comment.
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/soundsto/api/sounds/define-sound.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdxreferenced/api/sounds, but the API docs are organized under concrete child pages (for example,/api/sounds/define-sound).Change made
/api/sounds/api/sounds/define-soundCode change
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/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)/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+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: