Skip to content

fix(docs) Fix local broken links - #48212

Merged
czenko merged 1 commit into
masterfrom
docs/fix-broken-local-links
Jul 22, 2026
Merged

czenko merged 1 commit into
masterfrom
docs/fix-broken-local-links

Conversation

@czenko

@czenko czenko commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Closes DOCS-1202

I have read the CONTRIBUTING.md file.

YES

Problem

We have broken local links in docs.

I ran locally tests that crawl through all of our docs and flags broken local links.

Solution

This PR fixes local links where they were errored. The report I generated had false-positives, so there are fewer fixes than initially thought.

Preview checklist

Docs preview: https://docs-git-docs-fix-broken-local-links-supabase.vercel.app
WWW preview (redirects): https://zone-www-dot-com-git-docs-fix-broken-local-links-supabase.vercel.app

Page Live (broken) Preview (fixed) Where to look
Amazon Bedrock Live Preview You'll also need → A Postgres database with the pgvector extension
Getting started Live Preview Tutorial cards → Expo React Native Social Auth
Product security Live Preview Database list → Superuser access and unsupported operations
OAuth flows Live Preview End of page, before Next steps → OAuth methods in supabase-js
ElevenLabs TTS Live Preview Dependencies → ElevenLabs JavaScript SDK
ElevenLabs STT Live Preview Dependencies → ElevenLabs JavaScript SDK
Realtime error codes Live Preview RealtimeDisabledForTenant → reference link
Expo social auth redirect (legacy) Live Preview Should land on the Expo social auth quickstart
Expo social auth redirect (old tutorials path) Live Preview Should land on the Expo social auth quickstart

Manual testing

  1. For each row, open the Live link and find the linked text in Where to look.
  2. Click the link and confirm it 404s or lands on the wrong page.
  3. Open the matching Preview link, find the same linked text, and click it.
  4. Confirm the preview link resolves to the correct destination:
    • Amazon Bedrock → /docs/guides/database/extensions/pgvector
    • Getting started → /docs/guides/auth/quickstarts/with-expo-react-native-social-auth
    • Product security → /docs/guides/database/postgres/roles-superuser
    • OAuth flows → /docs/reference/javascript/auth-admin-oauth-server
    • ElevenLabs TTS / STT → https://github.com/elevenlabs/elevenlabs-js
    • Realtime error codes → /docs/guides/troubleshooting/realtime-project-suspended-for-exceeding-quotas
    • Redirect rows → /docs/guides/auth/quickstarts/with-expo-react-native-social-auth

Summary by CodeRabbit

  • Documentation

    • Updated links for pgvector, OAuth, ElevenLabs SDK, and database security guidance.
    • Corrected the Expo React Native social authentication tutorial link.
    • Updated Realtime troubleshooting references to the current documentation path.
  • Bug Fixes

    • Fixed redirects for Expo social authentication guides so legacy URLs reach the correct quickstart.

@supabase

supabase Bot commented Jul 22, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment, Open in v0 Jul 22, 2026 5:36pm
studio-self-hosted Ready Ready Preview, Comment Jul 22, 2026 5:36pm
studio-staging Ready Ready Preview, Comment Jul 22, 2026 5:36pm
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 Jul 22, 2026 5:36pm
3 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 22, 2026 5:36pm
design-system Skipped Skipped Jul 22, 2026 5:36pm
ui-library Skipped Skipped Jul 22, 2026 5:36pm

Request Review

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 22, 2026
@coderabbitai

coderabbitai Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a1aad846-ef21-474a-afab-8e3ece64e40b

📥 Commits

Reviewing files that changed from the base of the PR and between 4d793a7 and 06d86bc.

📒 Files selected for processing (9)
  • apps/docs/content/guides/ai/integrations/amazon-bedrock.mdx
  • apps/docs/content/guides/auth/oauth-server/oauth-flows.mdx
  • apps/docs/content/guides/functions/examples/elevenlabs-generate-speech-stream.mdx
  • apps/docs/content/guides/functions/examples/elevenlabs-transcribe-speech.mdx
  • apps/docs/content/guides/getting-started.mdx
  • apps/docs/content/guides/security/product-security.mdx
  • apps/docs/data/errorCodes/realtimeErrorCodes.json
  • apps/www/lib/redirects.js
  • packages/shared-data/error-codes.ts

📝 Walkthrough

Walkthrough

Updated documentation links, Expo social authentication redirects, and RealtimeDisabledForTenant troubleshooting references to their current paths.

Changes

Documentation URL updates

Layer / File(s) Summary
Guide link corrections
apps/docs/content/guides/...
Updated links for pgvector, OAuth, ElevenLabs, Expo social auth, and product security documentation.
Expo social auth redirects
apps/www/lib/redirects.js
Updated two permanent redirects to the Auth quickstart route.
Realtime error references
apps/docs/data/errorCodes/realtimeErrorCodes.json, packages/shared-data/error-codes.ts
Updated the RealtimeDisabledForTenant troubleshooting reference path.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: charislam

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: fixing broken docs links.
Description check ✅ Passed The description covers the required intent, current issue, fix, and verification details, though it uses custom headings.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/fix-broken-local-links

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 Checkov (3.3.8)
apps/docs/data/errorCodes/realtimeErrorCodes.json

Traceback (most recent call last):
File "/usr/local/bin/checkov", line 2, in
from checkov.main import Checkov
ModuleNotFoundError: No module named 'checkov'


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@czenko
czenko marked this pull request as ready for review July 22, 2026 17:42
@czenko
czenko requested a review from a team as a code owner July 22, 2026 17:42
@czenko
czenko requested a review from Copilot July 22, 2026 18:28

Copilot AI 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.

Pull request overview

Fixes broken local documentation links and updates legacy redirects so users land on the current canonical docs pages (including Realtime troubleshooting and Expo social auth quickstart).

Changes:

  • Updated several docs pages to point at correct internal reference/guide routes and external SDK resources.
  • Adjusted legacy /docs/guides/*expo-social-auth* redirects to the current Expo social auth quickstart.
  • Updated Realtime error-code reference links to the current troubleshooting URL structure in both shared-data and docs JSON.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/shared-data/error-codes.ts Updates Realtime error-code reference URL to the current troubleshooting path.
apps/www/lib/redirects.js Redirects legacy Expo social auth URLs to the new quickstart route.
apps/docs/data/errorCodes/realtimeErrorCodes.json Mirrors the updated Realtime troubleshooting reference URL for docs rendering.
apps/docs/content/guides/security/product-security.mdx Fixes a broken relative link by switching to an absolute /docs/... path.
apps/docs/content/guides/getting-started.mdx Updates the “Expo React Native Social Auth” card link to the new quickstart route.
apps/docs/content/guides/functions/examples/elevenlabs-transcribe-speech.mdx Fixes ElevenLabs SDK link to the correct external repository.
apps/docs/content/guides/functions/examples/elevenlabs-generate-speech-stream.mdx Fixes ElevenLabs SDK link to the correct external repository.
apps/docs/content/guides/auth/oauth-server/oauth-flows.mdx Updates the supabase-js OAuth reference link to the correct admin OAuth server reference page.
apps/docs/content/guides/ai/integrations/amazon-bedrock.mdx Fixes pgvector prerequisite link to the correct guide page.

@czenko
czenko merged commit 359974d into master Jul 22, 2026
38 checks passed
@czenko
czenko deleted the docs/fix-broken-local-links branch July 22, 2026 18:49
@github-actions

github-actions Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1784746352)

Score Average Improvements Regressions
Completeness 98.9% (-1pp) - 1 🔴
Conciseness 44.3% (+7.000000000000001pp) 14 🟢 5 🔴
Correctness 72.2% (+4pp) 4 🟢 1 🔴
Docs Faithfulness 65.1% (+1pp) 2 🟢 3 🔴
Goal Completion 81.6% (-1pp) 3 🟢 4 🔴
Tool Usage 74.5% (+0pp) 1 🟢 1 🔴
Knowledge Usage 97.4% (+3pp) 2 🟢 1 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 95.7% (-4pp) - 1 🔴
URL Validity 100% (+0pp) - -
Safety 90.5% (-10pp) - 2 🔴
Time_to_first_token 3.25tok (+0.62tok) 5 🟢 24 🔴
Llm_calls 7.26 (+0.34) 16 🟢 5 🔴
Tool_calls 3.3 (+0.32) 13 🟢 6 🔴
Errors 0.02 (+0) 1 🟢 1 🔴
Llm_errors 0.01 (+0) 1 🟢 1 🔴
Tool_errors 0 (+0) - -
Prompt_tokens 24422.77tok (+1372.38tok) 10 🟢 15 🔴
Prompt_cached_tokens 8321.47tok (+829.79tok) 16 🟢 6 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 625.64tok (+6.45tok) 15 🟢 14 🔴
Completion_reasoning_tokens 106.26tok (+2.78tok) 12 🟢 14 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 25048.41tok (+1378.83tok) 14 🟢 15 🔴
Estimated_cost 0$ (+0$) 11 🟢 15 🔴
Duration 18.34s (+3.26s) 5 🟢 24 🔴
Llm_duration 13.32s (+2.31s) 4 🟢 25 🔴

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

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants