Skip to content

docs: Data API IA - #42417

Merged
ChrisChinchilla merged 8 commits into
masterfrom
docs/data-api-ia
Mar 11, 2026
Merged

ChrisChinchilla merged 8 commits into
masterfrom
docs/data-api-ia

Conversation

@kiwicopple

@kiwicopple kiwicopple commented Feb 3, 2026 •

Copy link
Copy Markdown
Member

Summary

  • reorganize the navigation menu to highlight modules, consolidate API security content, and move guide entries (auto-generated docs, type generation, security topics) to the intended sections
  • relocate the Data API hardening and custom claims RBAC guides into the API subtree, updating internal references and redirects, and fixing cross-links (including adjusting the Security reference order)
  • adjust data API topic references (e.g., securing guide and role management) to point to the new paths and ensure the helper link ordering follows the requested layout

Testing

  • Not run (not requested)

Change 1

image

Change 2

image

Summary by CodeRabbit

  • Documentation
    • Reorganized API documentation structure, consolidating REST and GraphQL API guides under a dedicated API section.
    • Moved security-related guides to API documentation paths for better organization.
    • Implemented automatic redirects for old documentation links to new locations.
    • Updated navigation menu to reflect the restructured documentation layout.

@vercel

vercel Bot commented Feb 3, 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 Mar 11, 2026 0:46am
8 Skipped Deployments
Project Deployment Actions Updated (UTC)
cms Ignored Ignored Mar 11, 2026 0:46am
studio Ignored Ignored Mar 11, 2026 0:46am
design-system Skipped Skipped Mar 11, 2026 0:46am
learn Skipped Skipped Mar 11, 2026 0:46am
studio-self-hosted Skipped Skipped Mar 11, 2026 0:46am
studio-staging Skipped Skipped Mar 11, 2026 0:46am
ui-library Skipped Skipped Mar 11, 2026 0:46am
zone-www-dot-com Skipped Skipped Mar 11, 2026 0:46am

Request Review

@supabase

supabase Bot commented Feb 3, 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 ↗︎.

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

coderabbitai Bot commented Feb 3, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

This PR reorganizes documentation structure by moving API-related guides from database and auth paths to a unified API section. Changes include updating navigation menus, consolidating Data API and GraphQL guides under a "Modules" section, relocating "Hardening the Data API" and "Custom Claims & RBAC" guides, and adding permanent redirects for backward compatibility.

Changes

Cohort / File(s) Summary
Navigation and Configuration
apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts, apps/www/lib/redirects.js
Navigation menu restructured to consolidate API guides under a unified section. Replaces "Postgres Modules" with "Modules" and adds Data API (REST) and GraphQL API entries. REST API security content reorganized into a dedicated Security submenu. Two permanent redirects added for moved guides: hardening-data-api and custom-claims-and-role-based-access-control-rbac.
Header Update
apps/docs/app/page.tsx
Section header text updated from "Postgres Modules" to "Modules" in HomePage layout.
Documentation Link Updates
apps/docs/content/guides/api/securing-your-api.mdx, apps/docs/content/guides/database/postgres/roles.mdx, apps/docs/content/guides/database/secure-data.mdx, apps/docs/content/guides/security/product-security.mdx, apps/docs/content/guides/storage/schema/custom-roles.mdx, apps/docs/content/troubleshooting/database-api-42501-errors.mdx
Internal documentation links updated to reflect new guide paths: hardening-data-api moved from /guides/database to /guides/api; custom-claims-and-role-based-access-control-rbac moved from /guides/database/postgres or /guides/auth to /guides/api.

Possibly related PRs

Suggested reviewers

  • ChrisChinchilla
  • mandarini
  • charislam
🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description does not follow the provided template structure, which requires sections like 'I have read CONTRIBUTING.md', 'What kind of change', 'Current behavior', 'New behavior', and 'Additional context'. Restructure the description to match the template with required sections: acknowledge CONTRIBUTING.md, categorize the change type, describe current vs. new behavior, and add context.
Title check ❓ Inconclusive The title 'docs: Data API IA' is vague and uses abbreviation without context, making it unclear what 'IA' means or what the actual changes accomplish. Clarify the title to be more descriptive, e.g., 'docs: reorganize Data API navigation and security guides' to better convey the scope of changes.
✅ Passed checks (1 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/data-api-ia

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 and usage tips.

@kiwicopple kiwicopple changed the title Update API navigation and security docs structure docs: Data API IA Feb 3, 2026
@kiwicopple
kiwicopple requested a review from charislam February 4, 2026 10:44
@ChrisChinchilla ChrisChinchilla added the do-not-merge Not ready to be merged yet; pending other dependencies label Feb 5, 2026
@ChrisChinchilla ChrisChinchilla removed the do-not-merge Not ready to be merged yet; pending other dependencies label Mar 11, 2026

@ChrisChinchilla ChrisChinchilla 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.

My thoughts…

I see the reorganising under "modules", which used to be "Postgres modules", is that something we want to remove? I'll also bring those new items to the front page.

I am going to move the API keys item to the top of the security section, as that comes up a lot.

@ChrisChinchilla
ChrisChinchilla merged commit 973bacf into master Mar 11, 2026
25 checks passed
@ChrisChinchilla
ChrisChinchilla deleted the docs/data-api-ia branch March 11, 2026 13:11
@github-actions

github-actions Bot commented Mar 11, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1773234814)

Score Average Improvements Regressions
Completeness 100% (+0pp) - -
Conciseness 0% (+0pp) - -
Correctness 100% (+0pp) - -
Docs Faithfulness 55.9% (-1pp) 1 🟢 1 🔴
Goal Completion 97.2% (+2pp) 2 🟢 -
Tool Usage 97% (-3pp) - 1 🔴
URL Validity 100% (+0pp) - -
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 92.9% (-7.000000000000001pp) - 1 🔴
Time_to_first_token 0.27tok (-0.08tok) 10 🟢 2 🔴
Llm_calls 8.25 (+0.44) 4 🟢 5 🔴
Tool_calls 3 (-0.08) 2 🟢 5 🔴
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 43001.58tok (-5311.06tok) 8 🟢 4 🔴
Prompt_cached_tokens 25240.89tok (+984.89tok) 5 🟢 6 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Completion_tokens 2611.78tok (+67.75tok) 5 🟢 7 🔴
Completion_reasoning_tokens 1861.33tok (-62.22tok) 5 🟢 7 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 45613.36tok (-5243.31tok) 7 🟢 5 🔴
Estimated_cost 0.01$ (0$) 9 🟢 3 🔴
Duration 44.07s (+0.95s) 8 🟢 4 🔴
Llm_duration 86.08s (+3.58s) 8 🟢 4 🔴

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.

2 participants