docs(fern): fix redirects for /latest/index.html#793
Merged
lbliii merged 1 commit intoNVIDIA:mainfrom Apr 9, 2026
Merged
Conversation
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
miyoungc
approved these changes
Apr 9, 2026
pimlock
approved these changes
Apr 9, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds explicit Fern redirects for
/openshell/latest/index.htmland/openshell/latest/indexso Google and other external links that use Sphinx-styleindex.htmlURLs 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 betweenlatestandindex.html, which can surface as a literal:path*in the destination URL.Changes
/openshell/latest/index.htmland/openshell/latest/index→/openshell/latestfern/docs.yml(Sphinx vs Fern URLs, rule ordering)Testing
https://docs.nvidia.com/openshell/latest/index.htmlredirects to the docs home without a broken:path*segment.Made with Cursor