Skip to content

Commit 443bb82

Browse files
committed
docs(fix[pane/respawn-pane]): switch JSON ellipsis block to json5
The PaneInfo response example used a bare `...` inside a ```json fence to indicate truncated fields. Pygments' strict JSON lexer errored at the `.` token and fell back to relaxed mode, surfacing `WARNING: Lexing literal_block ... as "json" resulted in an error at token: '.'.` on every Sphinx build. Switching the fence to json5 (Pygments ships a json5 lexer; jsonc is not registered) and rewriting `...` as `// ...` keeps the same visual intent while staying within the lexer's accepted grammar — the line now highlights as a comment instead of triggering a lex error.
1 parent f23d7d5 commit 443bb82

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/tools/pane/respawn-pane.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ The audit log redacts each `environment` *value* via `{len, sha256_prefix}` dige
6969

7070
Response (PaneInfo):
7171

72-
```json
72+
```json5
7373
{
7474
"pane_id": "%5",
7575
"pane_pid": "98765",
7676
"pane_current_command": "pytest",
7777
"pane_current_path": "/home/user/project",
78-
...
78+
// ...
7979
}
8080
```
8181

0 commit comments

Comments
 (0)