Skip to content

Commit dbee348

Browse files
committed
📝 Fix list-table indentation in comment-style table
The JSONC row added the continuation cells one space too deep and re-indented the existing Go row the same way, so both rows' cells sat at column 6 under a `* -` whose first cell is at column 5. docutils no longer saw a uniform two-level bullet list, failing the directive: configuration.rst: ERROR: Error parsing content block for the "list-table" directive: two-level bullet list expected, but row 7 does not contain a second-level bullet list. Under `sphinx-build -nW` (the `docs` CI job) this broke the build. Dedent both rows' cells to column 5, matching every other row.
1 parent 23c7fac commit dbee348

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/source/components/configuration.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -316,16 +316,16 @@ Specifies the comment syntax style used in the source code files. This determine
316316
``//!`` (inner doc comments)
317317
- ``.rs``
318318
* - Go
319-
- ``"go"``
320-
- ``//`` (single-line),
321-
``/* */`` (multi-line)
322-
- ``.go``
319+
- ``"go"``
320+
- ``//`` (single-line),
321+
``/* */`` (multi-line)
322+
- ``.go``
323323
* - JSON with Comments (JSONC)
324-
- ``"jsonc"``
325-
- ``//`` (single-line),
326-
``/* */`` (multi-line)
327-
- ``.jsonc`` (always); ``.json`` only when the file opens with a comment
328-
(e.g. the mode line ``// -*- mode: jsonc -*-``)
324+
- ``"jsonc"``
325+
- ``//`` (single-line),
326+
``/* */`` (multi-line)
327+
- ``.jsonc`` (always); ``.json`` only when the file opens with a comment
328+
(e.g. the mode line ``// -*- mode: jsonc -*-``)
329329

330330
.. note:: Future versions may support additional programming languages.
331331

0 commit comments

Comments
 (0)