summaryrefslogtreecommitdiff
path: root/Documentation/getting_started/writing_documentation.md
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2024-06-18 16:57:01 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-06-19 17:43:06 +0000
commit37c8c85b3066a8ce303d0819005cf39025d64238 (patch)
treeb46c5044f01dc51cac68b3567886f0bde44ce336 /Documentation/getting_started/writing_documentation.md
parent1eccf77a78c49e1026ccbaca03cdb1f04f424368 (diff)
documentation: Fix evaluation of reStructuredText
eval_rst isn't a valid directive. Use eval-rst instead. Also, add curly braces where necessary since the MyST parser requires them. Change-Id: I68337354e9bd4de4b2c29d4e42c3bb22337fbe06 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83117 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nicholas Chin <nic.c3.14@gmail.com>
Diffstat (limited to 'Documentation/getting_started/writing_documentation.md')
-rw-r--r--Documentation/getting_started/writing_documentation.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/getting_started/writing_documentation.md b/Documentation/getting_started/writing_documentation.md
index 51ea531e51..b9c30b00d3 100644
--- a/Documentation/getting_started/writing_documentation.md
+++ b/Documentation/getting_started/writing_documentation.md
@@ -99,7 +99,7 @@ To reference documents use the TOC tree or inline RST code.
Under Sphinx markdown tables are not supported. Therefore you can use following
code block to write tables in reStructuredText and embed them into the markdown:
- ```eval_rst
+ ```{eval-rst}
+------------+------------+-----------+
| Header 1 | Header 2 | Header 3 |
+============+============+===========+
@@ -144,7 +144,7 @@ you'll see the following warning:
You can import CSV files and let sphinx automatically convert them to human
readable tables, using the following reStructuredText snipped:
- ```eval_rst
+ ```{eval-rst}
.. csv-table::
:header: "Key", "Value"
:file: keyvalues.csv