Skip to content

docs: clarify copyable how-to examples - #5828

Merged
cv merged 9 commits into
mainfrom
docs/fix-copyable-how-to-examples-5763
Jun 26, 2026
Merged

cv merged 9 commits into
mainfrom
docs/fix-copyable-how-to-examples-5763

Conversation

@miyoungc

@miyoungc miyoungc commented Jun 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Clarifies the documentation examples reported in #5763 so readers are not blocked by undeclared hosts, dashboard URL setup, or missing plugin lockfiles.
The home page stays on the default interactive install path, while scripted and failed-session recovery guidance lives in the quickstart and troubleshooting docs.

Related Issue

Fixes #5763

Changes

  • Keeps the home installer command concise and identifies it as the interactive installer and onboard wizard path.
  • Adds quickstart pointers for scripted installer reruns and failed onboarding session recovery.
  • Replaces the unresolved remote TUI my-gpu-box command with local and remote sandbox tabs.
  • Updates remote GPU deployment guidance to use the repository-aligned brev create <instance-name> provisioning shape and Brev console tunnel setup for CHAT_UI_URL.
  • Places the non-loopback dashboard exposure warning next to the first Brev tunnel setup.
  • Adds package-lock.json to the OpenClaw plugin build context example because the Dockerfile uses npm ci.

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification: doc-only corrections to prose and copyable examples; no runtime behavior changed.
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification:
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification:
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

Verification

  • PR description includes the DCO sign-off declaration and every commit appears as Verified in GitHub
  • Git hooks passed during commit and push, or npx prek run --from-ref main --to-ref HEAD passes
  • Targeted tests pass for changed behavior
  • Full npm test passes (broad runtime changes only)
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

npx prek run --from-ref origin/main --to-ref HEAD passed locally. ReadLints reports no diagnostics for the changed doc pages.


Signed-off-by: Miyoung Choi miyoungc@nvidia.com

@miyoungc miyoungc added the area: docs Documentation, examples, guides, or docs build label Jun 25, 2026
@miyoungc miyoungc self-assigned this Jun 25, 2026
@coderabbitai

coderabbitai Bot commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR updates documentation for onboarding, remote GPU deployment, remote TUI access, plugin builds, and docs-only checks by adding required setup details, recovery guidance, and updated command examples.

Changes

Executable docs command updates

Layer / File(s) Summary
Home install and onboarding
docs/index.mdx, docs/get-started/quickstart.mdx, docs/get-started/quickstart-hermes.mdx
The home install example uses a bash fence, adds onboarding recovery guidance, and describes resume versus fresh reruns.
Remote TUI launch
docs/network-policy/approve-network-requests.mdx
The remote TUI instructions change from a one-line SSH command to separate SSH, directory, environment, and openshell term steps.
Remote GPU setup and dashboard URL
docs/deployment/deploy-to-remote-gpu.mdx
The Brev deployment guide adds tunnel setup for port 18789, updates the installer flow, and replaces the placeholder dashboard URL with the tunnel origin.
Plugin build directory requirements
docs/deployment/install-openclaw-plugins.mdx
The plugin build guide adds package-lock.json to the example build context and includes it in dependency manifest guidance.
Docs-only workflow check
.github/workflows/pr.yaml
The docs-only check workflow skips hadolint when running prek for docs-only pull requests.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • NVIDIA/NemoClaw#5749: Clarifies nemoclaw onboard --resume behavior and resume flows that align with the new onboarding guidance here.

Suggested reviewers

  • cv
  • jyaunches

Poem

I’m a rabbit with docs in my paws,
Hopping through commands and helpful clauses.
Tunnels, lockfiles, and resumes now gleam,
So copy-paste flows run right as a dream. 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the documentation clarity updates.
Linked Issues check ✅ Passed The PR addresses all four linked doc issues by fixing installer prompts, placeholders, Brev URL guidance, and the missing lockfile context.
Out of Scope Changes check ✅ Passed No unrelated changes stand out; the docs-only CI skip aligns with the stated validation fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/fix-copyable-how-to-examples-5763

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

E2E Advisor Recommendation

Required E2E: None
Optional E2E: None

Workflow run

Full advisor summary

E2E Recommendation Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required E2E

  • None. Docs-only changes cannot affect NemoClaw runtime behavior or real user flows directly. No E2E jobs are required for this PR.

Optional E2E

  • None.

New E2E recommendations

  • None.

@github-actions

github-actions Bot commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

Vitest E2E Scenario Recommendation

Required Vitest E2E scenarios: None
Optional Vitest E2E scenarios: None

Workflow run

Full Vitest E2E advisor summary

Vitest E2E Scenario Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required Vitest E2E scenarios

  • None. Docs-only changes cannot affect the Vitest E2E scenario behavior or dispatch wiring.

Optional Vitest E2E scenarios

  • None.

Relevant changed files

  • None.

@github-actions

github-actions Bot commented Jun 25, 2026 •

Copy link
Copy Markdown
Contributor

PR Review Advisor — No blocking findings

Merge posture: No blocking advisor findings
Primary next action: No advisor follow-up required beyond maintainer review.
Open items: 0 required · 0 warnings · 0 suggestions · 0 test follow-ups
Since last review: 2 prior items resolved · 0 still apply · 0 new items found

Workflow run details

This is an automated, non-binding review; it still expects maintainers and agents to respond to each required or warning item. Treat suggestions as current-PR improvements when they touch changed code; defer only with maintainer rationale or a linked follow-up. A human maintainer must make the final merge decision.

@miyoungc
miyoungc marked this pull request as draft June 25, 2026 23:45
@copy-pr-bot

copy-pr-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
docs/index.mdx (1)

70-74: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Remove the trailing colon before the example.

This sentence ends with a colon even though the following block is not a list. Replace it with a period to match the docs style rules.

As per path instructions, every sentence must end with a period, and colons should only introduce lists.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/index.mdx` around lines 70 - 74, The sentence introducing the
unattended-run example in the docs currently ends with a colon, which violates
the style rule for non-list introductions; update the text around the example in
the docs index content so the sentence ends with a period instead, keeping the
surrounding wording and the bash example unchanged.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/deployment/deploy-to-remote-gpu.mdx`:
- Around line 58-63: The deployment example in the fenced bash block is not
fully executable because BREV_INSTANCE_ID still depends on a manual placeholder.
Update the example around CHAT_UI_URL and BREV_INSTANCE_ID so it derives the
instance ID inline from brev ls --json, or remove the substitution from the
copy-pasteable command block and place it in surrounding prose. Keep the example
centered on the deploy-to-remote-gpu flow and ensure the bash snippet can run
end to end without manual edits.
- Around line 136-139: The deployment snippet does not actually stop when
BREV_INSTANCE_ID is empty, so the later export and nemoclaw onboard steps can
still run with a bad CHAT_UI_URL. Update the shell commands in this section to
enforce a hard failure using the BREV_INSTANCE_ID check, either by replacing
test -n with a parameter expansion guard or by chaining the existing steps with
&&, so the flow cannot continue unless BREV_INSTANCE_ID is set.

---

Nitpick comments:
In `@docs/index.mdx`:
- Around line 70-74: The sentence introducing the unattended-run example in the
docs currently ends with a colon, which violates the style rule for non-list
introductions; update the text around the example in the docs index content so
the sentence ends with a period instead, keeping the surrounding wording and the
bash example unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 41237f24-0cae-400b-a6e7-8dec4420bfa2

📥 Commits

Reviewing files that changed from the base of the PR and between 3965669 and 71ab204.

📒 Files selected for processing (4)
  • docs/deployment/deploy-to-remote-gpu.mdx
  • docs/deployment/install-openclaw-plugins.mdx
  • docs/index.mdx
  • docs/network-policy/approve-network-requests.mdx

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/deployment/deploy-to-remote-gpu.mdx`:
- Around line 31-34: The Brev example in the deployment guide still uses an
unresolved <gpu-type> placeholder, which leaves readers without a valid value.
Update the `brev start` example to use a concrete supported Brev GPU type or add
a nearby reference to where `brev start` documents the available GPU options, so
the guidance is complete and actionable. Refer to the `brev start` command in
the remote GPU deployment section when making the change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: f8b2c989-b2cb-46bc-aaab-1629e68c039e

📥 Commits

Reviewing files that changed from the base of the PR and between 71ab204 and 1d3a769.

📒 Files selected for processing (5)
  • docs/deployment/deploy-to-remote-gpu.mdx
  • docs/get-started/quickstart-hermes.mdx
  • docs/get-started/quickstart.mdx
  • docs/index.mdx
  • docs/network-policy/approve-network-requests.mdx
✅ Files skipped from review due to trivial changes (3)
  • docs/network-policy/approve-network-requests.mdx
  • docs/index.mdx
  • docs/get-started/quickstart.mdx

@github-code-quality

github-code-quality Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage in the docs/fix-copyable-ho... branch is 96%. Coverage data for the main branch is not yet available.

Show a code coverage summary of the most covered files.
File main docs/fix-copyable-ho... 4ea8917 +/-
nemoclaw/src/se...cret-scanner.ts — 100% —
nemoclaw/src/commands/slash.ts — 100% —
nemoclaw/src/li...bprocess-env.ts — 100% —
nemoclaw/src/bl...eprint/state.ts — 98% —
nemoclaw/src/onboard/config.ts — 98% —
nemoclaw/src/bl...int/snapshot.ts — 97% —
nemoclaw/src/bl...print/runner.ts — 95% —
nemoclaw/src/co...ration-state.ts — 94% —
nemoclaw/src/bl...ate-networks.ts — 94% —
nemoclaw/src/index.ts — 94% —

Updated June 26, 2026 00:57 UTC
Code Coverage is in Public Preview. Learn more and provide us with your feedback.

@miyoungc miyoungc removed their assignment Jun 26, 2026
@cv
cv merged commit c00fe3a into main Jun 26, 2026
39 checks passed
@cv
cv deleted the docs/fix-copyable-how-to-examples-5763 branch June 26, 2026 01:43
Hadar301 pushed a commit to Hadar301/NemoClaw-OpenShift that referenced this pull request Jul 12, 2026
<!-- markdownlint-disable MD041 -->
## Summary
Clarifies the documentation examples reported in NVIDIA#5763 so readers are
not blocked by undeclared hosts, dashboard URL setup, or missing plugin
lockfiles.
The home page stays on the default interactive install path, while
scripted and failed-session recovery guidance lives in the quickstart
and troubleshooting docs.

## Related Issue
Fixes NVIDIA#5763

## Changes
- Keeps the home installer command concise and identifies it as the
interactive installer and onboard wizard path.
- Adds quickstart pointers for scripted installer reruns and failed
onboarding session recovery.
- Replaces the unresolved remote TUI `my-gpu-box` command with local and
remote sandbox tabs.
- Updates remote GPU deployment guidance to use the repository-aligned
`brev create <instance-name>` provisioning shape and Brev console tunnel
setup for `CHAT_UI_URL`.
- Places the non-loopback dashboard exposure warning next to the first
Brev tunnel setup.
- Adds `package-lock.json` to the OpenClaw plugin build context example
because the Dockerfile uses `npm ci`.

## Type of Change

- [ ] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [x] Doc only (includes code sample changes)

## Quality Gates
<!-- Check all that apply. For any "covered by existing tests", "not
applicable", or waiver entry, add a brief justification on the same line
or in the Changes section. -->
- [ ] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [x] Tests not applicable — justification: doc-only corrections to
prose and copyable examples; no runtime behavior changed.
- [x] Docs updated for user-facing behavior changes
- [ ] Docs not applicable — justification:
- [ ] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [ ] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification:
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Verification
<!-- Check each item you ran and confirmed. Leave unchecked items you
skipped. Doc-only changes do not require npm test unless you ran it. -->
- [x] PR description includes the DCO sign-off declaration and every
commit appears as `Verified` in GitHub
- [x] Git hooks passed during commit and push, or `npx prek run
--from-ref main --to-ref HEAD` passes
- [ ] Targeted tests pass for changed behavior
- [ ] Full `npm test` passes (broad runtime changes only)
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only)
- [x] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)

`npx prek run --from-ref origin/main --to-ref HEAD` passed locally.
`ReadLints` reports no diagnostics for the changed doc pages.

---
<!-- DCO sign-off is required in this PR description, and every commit
must appear as Verified in GitHub. Run: git config user.name && git
config user.email -->
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build

Projects

None yet

2 participants