Skip to contentSkip to conversation

Documentation: rust: Fix improper rendering in arch support page

PATCH Superseded Bo-Wei Chen 2 participants 3 messages Mar 23, 2024 – Mar 24, 2024 1 message not in the archive

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: rust: Fix improper rendering in arch support page

Fix improper rendering of table cell(empty bullet list). Rendering as a dash instead.

---
 Documentation/rust/arch-support.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/rust/arch-support.rst +1 -1
index 73203ba1e901..c4773d2fce66 100644
@@ -15,7 +15,7 @@ support corresponds to ``S`` values in the ``MAINTAINERS`` file.
 =============  ================  ==============================================
 Architecture   Level of support  Constraints
 =============  ================  ==============================================
-``loongarch``  Maintained        -
+``loongarch``  Maintained        ``-``
 ``um``         Maintained        ``x86_64`` only.
 ``x86``        Maintained        ``x86_64`` only.
 =============  ================  ==============================================
Signature · 1 line
2.42.0
#1 lore raw
Quoted 3 lines · Bo-Wei Chen

Fix improper rendering of table cell(empty bullet list). Rendering as a dash instead.

Thanks for the patch! I hope it was easy to set it up :)

Quoted 1 line

+``loongarch`` Maintained ``-``

I imagine this renders as a code block, right? That would be better and we can go with it, but did you check if there was any other way to get a normal text dash with rST/Sphinx? e.g. perhaps escaping with a backslash? [1]

We could also simply leave the cell empty if the escaping or similar do not work.

[1] https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#escaping-mechanism

Cheers,
Miguel

A message that is not in the archive (sent off-list or not yet received): CAOUFp6w_XY4cDZwLmFQSFDvgojZkNNwZ8GCWBAW=Ax_7ubZa9Q@mail.gmail.com

#3 lore raw

OK, the backslash escaping mechanism works. I will send the version 2 of the patch.

Bo-Wei Chen

Quoted 29 lines · Bo-Wei Chen

OK, the backslash escaping mechanism works. I will send the version 2 of the patch.

Bo-Wei Chen

Quoted 22 lines · Miguel Ojeda
Quoted 3 lines · Bo-Wei Chen

Fix improper rendering of table cell(empty bullet list). Rendering as a dash instead.

Thanks for the patch! I hope it was easy to set it up :)

Quoted 1 line

+``loongarch`` Maintained ``-``

I imagine this renders as a code block, right? That would be better and we can go with it, but did you check if there was any other way to get a normal text dash with rST/Sphinx? e.g. perhaps escaping with a backslash? [1]

We could also simply leave the cell empty if the escaping or similar do not work.

[1] https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#escaping-mechanism

Cheers,
Miguel