You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(website): match canonical URLs to GitHub Pages - #144
GitHub Pages redirects documentation URLs to a trailing slash, but the site declares slashless canonical URLs and lists them in its sitemap. Generate trailing-slash URLs so search engines receive the final URL directly.
Built the website and verified that all 85 sitemap URLs end in a slash and that the overview, playground and generated API page canonicals match their sitemap URLs.
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
New Features
Generated website URLs now include a trailing slash. This changes the URL format users see when visiting pages and applies the trailing-slash format across generated pages. No other user-facing changes are included in this update.
The Docusaurus configuration now sets trailingSlash to true for generated site URLs.
This change makes website canonical URLs and sitemap entries match the trailing-slash URLs that GitHub Pages already serves. No merge-blocking risk was identified, and reverting it is simple.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the website, the fix type, and the main change: canonical URLs are changed to match GitHub Pages redirect behavior. The diff adds trailingSlash: true to the Docusaurus config, which ma…
Description check
The description explains the reason for the change. GitHub Pages redirects documentation URLs to a trailing slash, while the site declares slashless canonical URLs. It also states the verification don…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the website, the fix type, and the main change: canonical URLs are changed to match GitHub Pages redirect behavior. The diff adds trailingSlash: true to the Docusaurus config, which makes generated URLs end in a slash. The title fits the change.
Full details: Description check
Explanation
The description explains the reason for the change. GitHub Pages redirects documentation URLs to a trailing slash, while the site declares slashless canonical URLs. It also states the verification done: a site build, a check that all 85 sitemap URLs end in a slash, and a check that the canonical URLs match the sitemap. This matches the one-line config change.
Finishing Touches
Simplify code
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Some tools did not complete. Review the errors below.
ESLint
If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.
ESLint install timed out. The project may have too many dependencies for the sandbox.
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.
A rabbit hops along the trail, With slashes tucked behind each tale. The site paths end neat and clear, A little setting brings them near. I nibble greens and cheer!
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: 001ebf1e-46c0-4e3b-8fcd-f506775eaacf
Commits
Reviewing files that changed from the base of the PR and between d22f736 and 4c5b97c.
Files selected for processing: 1
apps/website/docusaurus.config.js
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Recent review details
Context from checks skipped due to timeout: 1
GitHub Check: CodeRabbit
Additional context used
Code guidelines: 1
AGENTS.md — auto-discovered
Path-based instructions: 1
Source excerpt: Stay close to upstream FFmpeg releases; do not fork behavior unnecessarily.
The reason will be displayed to describe this comment to others. Learn more.
Adds trailingSlash: true to the Docusaurus config so generated canonical URLs and sitemap entries end with a slash, matching GitHub Pages' redirect behavior.
review-bot, model nvidia/nemotron-3-ultra-550b-a55b:free, verdict approve
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
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.
GitHub Pages redirects documentation URLs to a trailing slash, but the site declares slashless canonical URLs and lists them in its sitemap. Generate trailing-slash URLs so search engines receive the final URL directly.
Built the website and verified that all 85 sitemap URLs end in a slash and that the overview, playground and generated API page canonicals match their sitemap URLs.