Skip to content

Conversation

@tomasz1986
Copy link
Member

chore(all): fix various RST file formatting errors

Fix various RST formatting errors as reported by Sphinx when building
HTML for the Docs.

Signed-off-by: Tomasz Wilczyński [email protected]

Fix various RST formatting errors as reported by Sphinx when building
HTML for the Docs.

Signed-off-by: Tomasz Wilczyński <[email protected]>
Copy link
Member

@calmh calmh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat

@calmh calmh merged commit 1700e2c into syncthing:main Sep 8, 2025
4 checks passed
marbens-arch added a commit to marbens-arch/syncthing-docs that referenced this pull request Oct 31, 2025
First error (introduced in syncthing#961) fixed is where the "The relay immediately terminates the connection after sending this."
is not included in the enumeration above. That statement only applies in the case of RelayFull.

Second error is that the response codes right after the "Protocol defined responses" comment
are actually considered a part of the comment because the indentation level is 1 higher,
and therefore won't be displayed.

According to https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#comments:

> Arbitrary indented text may be used on the lines following the explicit markup start:
> ```
> .. This is a comment
> ..
>    _so: is this!
> ```

Signed-off-by: Marcus B Spencer <[email protected]>
calmh pushed a commit that referenced this pull request Nov 1, 2025
First error (introduced in #961) fixed is where the "The relay
immediately terminates the connection after sending this." is not
included in the enumeration above. That statement only applies in the
case of RelayFull.

Second error is that the response codes right after the "Protocol
defined responses" comment are actually considered a part of the comment
because the indentation level is 1 higher, and therefore won't be
displayed.

According to
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#comments:

> Arbitrary indented text may be used on the lines following the
explicit markup start:
> ```
> .. This is a comment
> ..
>    _so: is this!
> ```

---------

Signed-off-by: Marcus B Spencer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants