[PATCH v2 2/3] docs: fix highlighting of CPU ABI header rows

Daniel P. Berrangé posted 3 patches 2 years, 6 months ago
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>
[PATCH v2 2/3] docs: fix highlighting of CPU ABI header rows
Posted by Daniel P. Berrangé 2 years, 6 months ago
The 'header-rows' directive indicates how many rows in the generated
table are to be highlighted as headers. We only have one such row in
the CSV file included. This removes the accident bold highlighting
of the 'i486' CPU model.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 docs/system/cpu-models-x86.rst.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/system/cpu-models-x86.rst.inc b/docs/system/cpu-models-x86.rst.inc
index 7f6368f999..ba27b5683f 100644
--- a/docs/system/cpu-models-x86.rst.inc
+++ b/docs/system/cpu-models-x86.rst.inc
@@ -58,7 +58,7 @@ depending on the machine type is in use.
 .. csv-table:: x86-64 ABI compatibility levels
    :file: cpu-models-x86-abi.csv
    :widths: 40,15,15,15,15
-   :header-rows: 2
+   :header-rows: 1
 
 
 Preferred CPU models for Intel x86 hosts
-- 
2.41.0


Re: [PATCH v2 2/3] docs: fix highlighting of CPU ABI header rows
Posted by Zhao Liu 2 years, 3 months ago
On Tue, Jul 18, 2023 at 10:26:30AM +0100, Daniel P. Berrangé wrote:
> Date: Tue, 18 Jul 2023 10:26:30 +0100
> From: "Daniel P. Berrangé" <berrange@redhat.com>
> Subject: [PATCH v2 2/3] docs: fix highlighting of CPU ABI header rows
> 
> The 'header-rows' directive indicates how many rows in the generated
> table are to be highlighted as headers. We only have one such row in
> the CSV file included. This removes the accident bold highlighting
> of the 'i486' CPU model.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>

> ---
>  docs/system/cpu-models-x86.rst.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/docs/system/cpu-models-x86.rst.inc b/docs/system/cpu-models-x86.rst.inc
> index 7f6368f999..ba27b5683f 100644
> --- a/docs/system/cpu-models-x86.rst.inc
> +++ b/docs/system/cpu-models-x86.rst.inc
> @@ -58,7 +58,7 @@ depending on the machine type is in use.
>  .. csv-table:: x86-64 ABI compatibility levels
>     :file: cpu-models-x86-abi.csv
>     :widths: 40,15,15,15,15
> -   :header-rows: 2
> +   :header-rows: 1
>  
>  
>  Preferred CPU models for Intel x86 hosts
> -- 
> 2.41.0
> 
>