Commit 443bb82
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments