Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,18 @@ versions:

redirects:
# Paths are relative to the site root; subpath prefix matches instances + custom-domain.
# Sphinx-style URLs used .../path/to/page/index.html; Fern canonical URLs omit index.html.
# List explicit /index.html routes before :path*/index.html so empty path segments do not
# mis-resolve (see NeMo-Curator fern/docs.yml). :path*.html must follow :path*/index.html rules.
# https://www.buildwithfern.com/learn/docs/configuration/site-level-settings#redirects-configuration
- source: "/openshell/index.html"
destination: "/openshell/latest"
- source: "/openshell/index"
destination: "/openshell/latest"
- source: "/openshell/latest/index.html"
destination: "/openshell/latest"
- source: "/openshell/latest/index"
destination: "/openshell/latest"
- source: "/openshell/latest/:path*/index.html"
destination: "/openshell/latest/:path*"
- source: "/openshell/:path*/index.html"
Expand Down
Loading