mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-16 05:20:22 +08:00
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. Made-with: Cursor Signed-off-by: Lawrence Lane <llane@nvidia.com>
87 lines
2.6 KiB
YAML
87 lines
2.6 KiB
YAML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Fern site config — merged with skills/convert-to-fern/assets/theme/nvidia/docs-theme.yml pattern
|
|
# Production: https://docs.nvidia.com/openshell/ — preview + custom-domain share path prefix `openshell`.
|
|
# Internal MDX links use /latest/...; basepath-aware resolves them under /openshell/ on production.
|
|
instances:
|
|
- url: openshell.docs.buildwithfern.com/openshell
|
|
custom-domain: docs.nvidia.com/openshell
|
|
|
|
title: NVIDIA OpenShell
|
|
|
|
announcement:
|
|
message: "🔔 NVIDIA OpenShell is <strong>alpha software</strong>. APIs and behavior may change without notice. Do not use in production."
|
|
|
|
footer: ./components/CustomFooter.tsx
|
|
|
|
layout:
|
|
searchbar-placement: header
|
|
page-width: 1376px
|
|
sidebar-width: 248px
|
|
content-width: 812px
|
|
tabs-placement: header
|
|
hide-feedback: true
|
|
|
|
colors:
|
|
accentPrimary:
|
|
dark: "#76B900"
|
|
light: "#76B900"
|
|
background:
|
|
light: "#FFFFFF"
|
|
dark: "#000000"
|
|
|
|
theme:
|
|
page-actions: toolbar
|
|
footer-nav: minimal
|
|
|
|
logo:
|
|
dark: ./assets/NVIDIA_dark.svg
|
|
light: ./assets/NVIDIA_light.svg
|
|
height: 20
|
|
href: /openshell/latest
|
|
right-text: OpenShell
|
|
|
|
favicon: ./assets/NVIDIA_symbol.svg
|
|
|
|
js:
|
|
- url: https://assets.adobedtm.com/5d4962a43b79/c1061d2c5e7b/launch-191c2462b890.min.js
|
|
strategy: beforeInteractive
|
|
|
|
css:
|
|
- ./main.css
|
|
|
|
navbar-links:
|
|
- type: github
|
|
value: https://github.com/NVIDIA/OpenShell
|
|
|
|
experimental:
|
|
mdx-components:
|
|
- ./components
|
|
basepath-aware: true
|
|
|
|
versions:
|
|
- display-name: Latest
|
|
path: versions/latest.yml
|
|
slug: latest
|
|
|
|
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"
|
|
destination: "/openshell/:path*"
|
|
- source: "/openshell/:path*.html"
|
|
destination: "/openshell/:path*"
|