diff options
author | Felix Singer <felixsinger@posteo.net> | 2024-06-18 16:57:01 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-06-19 17:43:06 +0000 |
commit | 37c8c85b3066a8ce303d0819005cf39025d64238 (patch) | |
tree | b46c5044f01dc51cac68b3567886f0bde44ce336 | |
parent | 1eccf77a78c49e1026ccbaca03cdb1f04f424368 (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>
-rw-r--r-- | Documentation/getting_started/writing_documentation.md | 4 | ||||
-rw-r--r-- | Documentation/mainboard/hp/8560w.md | 4 | ||||
-rw-r--r-- | Documentation/mainboard/hp/pro_3500_series.md | 4 |
3 files changed, 6 insertions, 6 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 diff --git a/Documentation/mainboard/hp/8560w.md b/Documentation/mainboard/hp/8560w.md index babd632cbc..103d912778 100644 --- a/Documentation/mainboard/hp/8560w.md +++ b/Documentation/mainboard/hp/8560w.md @@ -17,7 +17,7 @@ clip to read and flash the chip. ![8560w_chip_location](8560w_flash.webp) -```eval_rst +```{eval-rst} +---------------------+------------+ | Type | Value | +=====================+============+ @@ -61,7 +61,7 @@ clip to read and flash the chip. ## Technology -```eval_rst +```{eval-rst} +------------------+--------------------------------------------------+ | Northbridge | :doc:`../../northbridge/intel/sandybridge/index` | +------------------+--------------------------------------------------+ diff --git a/Documentation/mainboard/hp/pro_3500_series.md b/Documentation/mainboard/hp/pro_3500_series.md index 241b5677af..881bf372f4 100644 --- a/Documentation/mainboard/hp/pro_3500_series.md +++ b/Documentation/mainboard/hp/pro_3500_series.md @@ -14,7 +14,7 @@ therefore the automatic fan control will not increase the fan speed. ## Flashing coreboot -```{eval_rst} +```{eval-rst} +---------------------+-------------------------+ | Type | Value | +=====================+=========================+ @@ -82,7 +82,7 @@ until cleanly power cycled. ## Technology -```{eval_rst} +```{eval-rst} +------------------+--------------------------------------------------+ | Northbridge | :doc:`../../northbridge/intel/sandybridge/index` | +------------------+--------------------------------------------------+ |