Skip to content

fix(website): match canonical URLs to GitHub Pages - #144

Merged
Project516 merged 1 commit into
masterfrom
fix/docs-canonical-slashes
Nov 17, 2026
Merged

Project516 merged 1 commit into
masterfrom
fix/docs-canonical-slashes

Conversation

@Project516

Copy link
Copy Markdown
Owner

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.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

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.

Changes: Site URL Configuration

Layer / File(s) Summary
Enable trailing slashes
apps/website/docusaurus.config.js
The configuration sets trailingSlash to true.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · up to 4c5b9

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: Passed 4

Check name Status Explanation
Title check Passed 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 Passed 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 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.
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.

Share

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.

CodeRabbit inference engine (AGENTS.md)

Files:

  • apps/website/docusaurus.config.js

@project516-review-bot project516-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@Project516
Project516 merged commit 55ab276 into master Nov 17, 2026
22 checks passed
@Project516
Project516 deleted the fix/docs-canonical-slashes branch November 17, 2026 20:01
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.

1 participant