diff --git a/docs/about/ecosystem-hermes.mdx b/docs/about/ecosystem-hermes.mdx index 659efa38763..355ac3d07fd 100644 --- a/docs/about/ecosystem-hermes.mdx +++ b/docs/about/ecosystem-hermes.mdx @@ -99,5 +99,5 @@ Use the following table to decide when to use NemoHermes versus OpenShell alone. - [Overview](overview) describes what NemoClaw is, including capabilities, benefits, and use cases. - [How It Works](how-it-works) describes how NemoClaw runs, the blueprint, sandbox creation, routing, and protection layers for Hermes. - [Architecture](../reference/architecture) shows the repository structure and technical diagrams. -- [Quickstart with Hermes](../get-started/quickstart) installs NemoClaw and launches your first Hermes sandbox. +- [Quickstart with Hermes](../get-started/quickstart-hermes) installs NemoClaw and launches your first Hermes sandbox. - [NemoClaw Community](https://github.com/NVIDIA/nemoclaw-community) collects community-driven examples, showcases, and integrations that demonstrate complete blueprint patterns. diff --git a/docs/inference/use-local-inference.mdx b/docs/inference/use-local-inference.mdx index a117a6c3452..fe40efe550d 100644 --- a/docs/inference/use-local-inference.mdx +++ b/docs/inference/use-local-inference.mdx @@ -26,7 +26,7 @@ OpenShell intercepts inference traffic and forwards it to the local endpoint you - NemoClaw installed. Refer to the [Quickstart](../get-started/quickstart) if you have not installed yet. -- NemoClaw installed. Refer to [Quickstart with Hermes](../get-started/quickstart) if you have not installed yet. +- NemoClaw installed. Refer to [Quickstart with Hermes](../get-started/quickstart-hermes) if you have not installed yet. - A local model server running, or a supported Ollama, vLLM, or NIM setup that the NemoClaw onboard wizard can use, start, or install. @@ -259,6 +259,6 @@ If the provider itself needs to change (for example, switching from vLLM to a cl - [Inference Options](inference-options) for the full list of providers available during onboarding. - [Switch Inference Models](switch-inference-providers) for runtime model switching. -- [Quickstart with Hermes](../get-started/quickstart) for first-time installation. +- [Quickstart with Hermes](../get-started/quickstart-hermes) for first-time installation. diff --git a/docs/manage-sandboxes/lifecycle.mdx b/docs/manage-sandboxes/lifecycle.mdx index 90b021d7045..e0fa4920145 100644 --- a/docs/manage-sandboxes/lifecycle.mdx +++ b/docs/manage-sandboxes/lifecycle.mdx @@ -17,7 +17,7 @@ import { AgentOnly } from "../_components/AgentGuide"; Use this guide after you finish the [OpenClaw quickstart](../get-started/quickstart). -Use this guide after you finish [Quickstart with Hermes](../get-started/quickstart). +Use this guide after you finish [Quickstart with Hermes](../get-started/quickstart-hermes). It covers day-two sandbox operations such as listing sandboxes, checking health, managing ports, rebuilding safely, upgrading, and uninstalling. diff --git a/test/repro-hermes-quickstart-links.test.ts b/test/repro-hermes-quickstart-links.test.ts new file mode 100644 index 00000000000..f79a63d5b8b --- /dev/null +++ b/test/repro-hermes-quickstart-links.test.ts @@ -0,0 +1,42 @@ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { describe, it, expect } from "vitest"; +import fs from "node:fs"; +import path from "node:path"; + +// Regression for the remaining "Quickstart with Hermes" links that pointed at +// the OpenClaw quickstart source file (docs/get-started/quickstart.mdx) instead +// of the Hermes quickstart (docs/get-started/quickstart-hermes.mdx). Fern +// resolves relative `[](…)` links by source-file path (see merged #5099/#5088), +// so these resolved to the wrong page. Each occurrence below sits in a +// Hermes-only context (a variant="hermes" block or the Hermes ecosystem page), +// while the sibling OpenClaw link correctly keeps ../get-started/quickstart. +const REPO_ROOT = path.dirname(import.meta.dirname); +const read = (...rel: string[]) => + fs.readFileSync(path.join(REPO_ROOT, "docs", ...rel), "utf-8"); + +const HERMES_WRONG = /\[Quickstart with Hermes\]\(\.\.\/get-started\/quickstart\)/; +const HERMES_RIGHT = /\[Quickstart with Hermes\]\(\.\.\/get-started\/quickstart-hermes\)/; + +describe('"Quickstart with Hermes" links target the Hermes quickstart page', () => { + it("ecosystem-hermes.mdx", () => { + const text = read("about", "ecosystem-hermes.mdx"); + expect(text).not.toMatch(HERMES_WRONG); + expect(text).toMatch(HERMES_RIGHT); + }); + + it("manage-sandboxes/lifecycle.mdx (keeps the OpenClaw quickstart link)", () => { + const text = read("manage-sandboxes", "lifecycle.mdx"); + expect(text).not.toMatch(HERMES_WRONG); + expect(text).toMatch(HERMES_RIGHT); + expect(text).toMatch(/\[OpenClaw quickstart\]\(\.\.\/get-started\/quickstart\)/); + }); + + it("inference/use-local-inference.mdx (keeps the OpenClaw quickstart link)", () => { + const text = read("inference", "use-local-inference.mdx"); + expect(text).not.toMatch(HERMES_WRONG); + expect(text).toMatch(HERMES_RIGHT); + expect(text).toMatch(/\[Quickstart\]\(\.\.\/get-started\/quickstart\)/); + }); +});