Skip to content

Conversation

@aidankmcalister
Copy link
Member

@aidankmcalister aidankmcalister commented Feb 12, 2026

Summary by CodeRabbit

Release Notes

  • New Features

    • Documentation preview images (OG images) now generate for both v6 and v7 documentation versions, improving social media sharing.
  • Improvements

    • Enhanced URL handling to dynamically adapt documentation feeds and links to different deployment environments.

@vercel
Copy link

vercel bot commented Feb 12, 2026

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

Project Deployment Actions Updated (UTC)
docs Building Building Preview, Comment Feb 12, 2026 7:46pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

The PR adds dynamic base URL support via getBaseUrl() across three key files and introduces v6 documentation page fallback in OG image generation. Base URLs are now computed at runtime instead of hardcoded in llms.txt, og/docs, and rss.ts routes.

Changes

Cohort / File(s) Summary
Dynamic Base URL Integration
apps/docs/src/app/llms.txt/route.ts, apps/docs/src/lib/rss.ts
Both files now import and utilize getBaseUrl() to construct URLs dynamically at runtime. Page paths and RSS feed links are prefixed with the computed base URL instead of relying on static paths.
Documentation Versioning
apps/docs/src/app/og/docs/[...slug]/route.tsx
Adds v6 source fallback mechanism. Page resolution now attempts v7 source first, then falls back to v6 if not found. Static parameter generation aggregates pages from both versions to enable OG image generation for legacy documentation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes


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

@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

3660 links: ✅ 2988 OK | 🚫 6 errors | 🔀 0 redirects | 👻 664 excluded

❌ Errors

./apps/docs/content/docs.v6/guides/permit-io-access-control.mdx

./apps/docs/content/docs.v6/orm/prisma-client/observability-and-logging/opentelemetry-tracing.mdx

./apps/docs/content/docs/guides/integrations/permit-io.mdx

./apps/docs/content/docs/orm/prisma-client/observability-and-logging/opentelemetry-tracing.mdx


Full Statistics Table
Status Count
✅ Successful 2988
🔀 Redirected 0
👻 Excluded 664
🚫 Errors 6
⛔ Unsupported 2
⏳ Timeouts 0
❓ Unknown 0

@aidankmcalister aidankmcalister merged commit 2f6c00a into main Feb 12, 2026
5 of 10 checks passed
@aidankmcalister aidankmcalister deleted the fix/final-seo-audit branch February 12, 2026 19:48
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.

2 participants