Skip to content

docs(fern): fix redirects for /latest/index.html#793

Merged
lbliii merged 1 commit intoNVIDIA:mainfrom
lbliii:redirect-fixes
Apr 9, 2026
Merged

docs(fern): fix redirects for /latest/index.html#793
lbliii merged 1 commit intoNVIDIA:mainfrom
lbliii:redirect-fixes

Conversation

@lbliii
Copy link
Copy Markdown
Collaborator

@lbliii lbliii commented Apr 9, 2026

Summary

Adds explicit Fern redirects for /openshell/latest/index.html and /openshell/latest/index so Google and other external links that use Sphinx-style index.html URLs resolve to the canonical Fern path.

Problem

Wildcard rules such as /openshell/latest/:path*/index.html/openshell/latest/:path* can mis-resolve when there is no path segment between latest and index.html, which can surface as a literal :path* in the destination URL.

Changes

  • Explicit /openshell/latest/index.html and /openshell/latest/index/openshell/latest
  • Comments aligned with NeMo-Curator fern/docs.yml (Sphinx vs Fern URLs, rule ordering)

Testing

  • Config-only change; verify after deploy that https://docs.nvidia.com/openshell/latest/index.html redirects to the docs home without a broken :path* segment.

Made with Cursor

Google and external links target .../openshell/latest/index.html. Wildcard rules .../latest/:path*/index.html can mis-resolve when the path segment is empty, producing a literal :path* in the destination URL.

Add explicit redirects for /openshell/latest/index.html and /openshell/latest/index (aligned with NeMo-Curator fern/docs.yml) and document ordering versus Sphinx-style URLs.

Signed-off-by: Lawrence Lane <llane@nvidia.com>
Made-with: Cursor
@lbliii lbliii requested a review from a team as a code owner April 9, 2026 19:12
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 9, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@lbliii lbliii requested a review from miyoungc April 9, 2026 19:12
@lbliii lbliii merged commit f38a095 into NVIDIA:main Apr 9, 2026
11 checks passed
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.

3 participants