NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

[All Platforms][Docs] per-page .md export returns Page Not Found sitewide

Open zNeill opened this issue 6 months ago • 1 comments

Description

Description

The NemoClaw docs site's per-page Markdown export is broken sitewide.
Appending ".md" to any page URL (the convention the site's own llms.txt
advertises for AI agents) returns an HTTP 200 response with a 44-byte
"Page Not Found" body instead of the page Markdown. This breaks the
"Open in Claude" / "Copy page" / "View as Markdown" toolbar actions,
which all depend on the .md endpoint and therefore fall back to HTML +
search.
Environment
Device:        docs.nvidia.com/nemoclaw (public documentation site)
OS:            N/A (documentation-site bug; verified via curl)
Architecture:  N/A
Node.js:       N/A
npm:           N/A
Docker:        N/A
OpenShell CLI: 0.0.39 (docs describe this version)
NemoClaw:      v0.0.44 (docs "latest")
OpenClaw:      N/A (docs-only)
Steps to Reproduce
1. curl -sS https://docs.nvidia.com/nemoclaw/home.md
2. curl -sS https://docs.nvidia.com/nemoclaw/latest/reference/commands.md
3. curl -sS https://docs.nvidia.com/nemoclaw/latest/about/overview.md
4. curl -sS https://docs.nvidia.com/nemoclaw/latest/reference/llms.txt
5. Compare with the working index files:
   curl -sS https://docs.nvidia.com/nemoclaw/llms.txt
   curl -sS https://docs.nvidia.com/nemoclaw/llms-full.txt
6. On a docs page, click the "View as Markdown" / "Copy page" /
   "Open in Claude" toolbar action.
Expected Result
- .md returns the rendered Markdown of that page (HTTP 200,
  real content).
- 
/llms.txt returns the section index. - "Open in Claude" / "View as Markdown" / "Copy page" succeed using the .md endpoint. The site's own llms.txt advertises both conventions: "For clean Markdown of any page, append .md to the page URL" "For section-specific indexes, append /llms.txt to any section URL"
Actual Result
Every per-page .md and per-section llms.txt returns HTTP 200 with a
44-byte body:

  # Page Not Found

  This page does not exist.

Confirmed broken (all 44-byte Not Found):
  /nemoclaw/home.md
  /nemoclaw/index.md
  /nemoclaw/latest/index.md
  /nemoclaw/latest/about/overview.md
  /nemoclaw/latest/reference/commands.md
  /nemoclaw/latest/reference/commands.html.md
  /nemoclaw/latest/reference/llms.txt   (section index)

The first home.md fetch was also slow (~10.7s) before returning the
Not Found body.

Working (so the failure is isolated to per-page export, not all txt):
  /nemoclaw/llms.txt        (580 bytes, OK)
  /nemoclaw/llms-full.txt   (1.24 MB, OK, ~8s)

Net effect: the "Open in Claude" / "View as Markdown" / "Copy page"
buttons all fall back to HTML + search because the .md endpoint they
fetch is dead. Root cause is the per-page Markdown export pipeline, not
just home.md.
Logs
$ curl -sS -w "HTTP %{http_code} size=%{size_download}\n" \
    https://docs.nvidia.com/nemoclaw/home.md
# Page Not Found

This page does not exist.
HTTP 200 size=44

$ curl -sS -w "HTTP %{http_code} size=%{size_download}\n" \
    https://docs.nvidia.com/nemoclaw/llms.txt
# NVIDIA NemoClaw
## Instructions for AI Agents
- For clean Markdown of any page, append `.md` to the page URL
...
HTTP 200 size=580
Suggested Fix
Fix the docs-site per-page Markdown export so that .md and
/llms.txt return the rendered Markdown (HTTP 200 with real content) instead of the 44-byte "Page Not Found". Add a docs-site monitoring / test case for the Claude-Markdown integration: assert that home.md and a sample of page .md endpoints return real Markdown (not "Page Not Found") and that section llms.txt indexes resolve. (PRR ref: P-34 / PRR-02.)

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Keyword NemoClaw, NemoClaw_Docs, NEMOCLAW_GH_SYNC_APPROVAL

[NVB#6266523]

zNeill avatar Jun 04 '26 04:06 zNeill

This issue is not reproducible — the per-page .md export is working. The docs site is Fern in multi-source mode, so canonical page slugs carry a user-guide/openclaw (or .../hermes) segment; the reported URLs (e.g. /nemoclaw/latest/reference/commands.md) drop it and don't resolve to any page, so Fern returns its "Page Not Found" body (HTTP 200 is Fern's normal 404 rendering). Appending .md to the canonical URLs — the ones listed in the site's own llms.txt — returns real Markdown, verified https://docs.nvidia.com/nemoclaw/user-guide/openclaw/reference/commands.md and .../latest/user-guide/openclaw/reference/commands.md both return the rendered page.

rluo8 avatar Jul 07 '26 07:07 rluo8