Skip to content

Commit 1ab2cb9

Browse files
committed
chore: address coderabbit feedback
Signed-off-by: Will Killian <wkillian@nvidia.com>
1 parent 4be9a33 commit 1ab2cb9

15 files changed

Lines changed: 77 additions & 25 deletions

File tree

.agents/skills/contribute-docs/SKILL.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,17 @@ Use this skill for docs-only or example-heavy changes.
2626
- Keep stable user-facing wrappers at `scripts/` root in docs and examples;
2727
only point at namespaced helper paths when documenting internal maintenance
2828
work
29+
- In MDX files, top-of-file comments must use JSX comment delimiters:
30+
`{/*` to open and `*/}` to close. Do not use HTML comments for MDX SPDX
31+
headers.
2932

3033
## Checklist
3134

3235
- [ ] `README.md` or `docs/index.md` updated when entry points changed
3336
- [ ] Relevant getting-started or reference docs updated
3437
- [ ] Example commands still match current package names and paths
3538
- [ ] Relevant package or crate `README.md` files updated when examples or binding guidance changed
39+
- [ ] New or regenerated MDX files use `{/* ... */}` for top-of-file SPDX comments
3640
- [ ] Release-policy docs still point to GitHub Releases as the only release-history source of truth
3741
- [ ] Run `just docs` when the docs site changed; `./scripts/build-docs.sh html` remains the compatibility wrapper
3842

.agents/skills/review-doc-style/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ Treat these as blocking issues:
4747
- A doc claims support for a binding, feature, or workflow that the repo no longer provides
4848
- Examples or procedures are likely to fail as written
4949
- User-facing naming is inconsistent with current repo terminology
50+
- MDX top-of-file SPDX comments use HTML comment delimiters instead of
51+
`{/* ... */}`
5052
- NVIDIA is not capitalized correctly
5153
- Code, commands, paths, or filenames are not formatted as inline code where needed
5254

@@ -71,6 +73,7 @@ Flag these when they materially improve clarity or consistency:
7173
- **Voice**: Prefer active voice, present tense, short sentences, and plain English.
7274
- **Links**: Use descriptive anchor text, not bare URLs or weak labels.
7375
- **Formatting**: Commands, code elements, expressions, file names, and paths are monospace.
76+
- **MDX headers**: Top-of-file MDX SPDX comments use `{/*` and `*/}` delimiters.
7477
- **Procedures**: Steps are easy to scan, imperative, and split into smaller tasks when long.
7578
- **Examples**: Code blocks are introduced by full sentences and match current APIs and build commands.
7679
- **Terminology**: Use consistent terms throughout the document.

.github/ci-path-filters.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ dependencies:
111111
docs:
112112
- 'CONTRIBUTING.md'
113113
- 'README.md'
114+
- 'docs/**'
114115
- 'Cargo.lock'
115116
- 'Cargo.toml'
116117
- 'crates/adaptive/src/**'

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ jobs:
151151
}}
152152
permissions:
153153
contents: read
154+
secrets:
155+
DOCS_FERN_TOKEN: ${{ secrets.DOCS_FERN_TOKEN }}
154156

155157
ci_rust:
156158
name: Rust

.github/workflows/ci_docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
name: Documentation
55

66
on:
7-
workflow_call: {}
7+
workflow_call:
8+
secrets:
9+
DOCS_FERN_TOKEN:
10+
required: false
811
defaults:
912
run:
1013
shell: bash

.github/workflows/fern-docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ jobs:
276276
working-directory: docs-checkout
277277
run: |
278278
set -euo pipefail
279-
if git diff --quiet && git diff --cached --quiet; then
279+
if [[ -z "$(git status --porcelain --untracked-files=all)" ]]; then
280280
echo "has_changes=false" >> "$GITHUB_OUTPUT"
281281
else
282282
echo "has_changes=true" >> "$GITHUB_OUTPUT"
@@ -321,10 +321,13 @@ jobs:
321321
steps:
322322
- name: Determine version tag
323323
id: version
324+
env:
325+
EVENT_NAME: ${{ github.event_name }}
326+
INPUT_TAG: ${{ inputs.tag }}
324327
run: |
325328
set -euo pipefail
326-
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
327-
tag="${{ inputs.tag }}"
329+
if [[ "$EVENT_NAME" == "workflow_dispatch" ]]; then
330+
tag="$INPUT_TAG"
328331
else
329332
tag="${GITHUB_REF_NAME}"
330333
fi

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Review docs and snippets that mention explicit versions, including:
164164

165165
- [`README.md`](README.md)
166166
- [`CONTRIBUTING.md`](CONTRIBUTING.md)
167-
- [`fern/versions/dev/pages/getting-started/installation.mdx`](fern/versions/dev/pages/getting-started/installation.mdx)
167+
- [`docs/getting-started/installation.mdx`](docs/getting-started/installation.mdx)
168168
- Any binding README or example that pins a release number
169169

170170
Do not commit a static Python package version into `pyproject.toml` just to cut

docs/about/concepts/subscribers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ scopes, LLM calls, tool calls, or marks. NeMo Relay emits the canonical ATOF eve
7676
stream, and each subscriber chooses whether to consume the native event object,
7777
the canonical JSON helper, or an exporter-specific translation.
7878

79-
```{mermaid}
79+
```mermaid
8080
flowchart
8181
Host[Host Integration]
8282

docs/about/release-notes/known-issues.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ These notes apply to the NeMo Relay 0.3 Release.
1717
- Generated API pages cover Rust, Python, and Node.js. Experimental bindings do not yet have the same generated documentation depth.
1818
- The NeMo Relay CLI is experimental. Coding agent observability support varies due to capabilities of hooks. Any encountered problems should be filed as bugs.
1919

20-
### Fixed issues from NeMo Relay 0.2:
21-
2220
### Fixed issues from NeMo Relay 0.1:
2321
- Enabled TLS support for OTLP HTTP export.
2422
- Preserved Go scope stacks across OS threads.

docs/build-plugins/plugin-configuration-files.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Observability exporters through `plugins.toml`.
264264

265265
Use the component guides for field-level configuration:
266266

267-
- [Observability Configuration](/observability-plugin/configuration)
268-
- [Adaptive Configuration](/adaptive-plugin/configuration)
269-
- [Adaptive Cache Governor (ACG)](/adaptive-plugin/acg)
270-
- [Adaptive Hints](/adaptive-plugin/adaptive-hints)
267+
- [Observability Configuration](/plugins/observability/configuration)
268+
- [Adaptive Configuration](/plugins/adaptive/configuration)
269+
- [Adaptive Cache Governor (ACG)](/plugins/adaptive/acg)
270+
- [Adaptive Hints](/plugins/adaptive/adaptive-hints)

0 commit comments

Comments
 (0)