From 37c8c85b3066a8ce303d0819005cf39025d64238 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Tue, 18 Jun 2024 16:57:01 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83117 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Nicholas Chin --- Documentation/getting_started/writing_documentation.md | 4 ++-- Documentation/mainboard/hp/8560w.md | 4 ++-- Documentation/mainboard/hp/pro_3500_series.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Documentation') 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` | +------------------+--------------------------------------------------+ -- cgit v1.2.3