From f8f1d226452700d7cdee7c42c5459ed36aaa4271 Mon Sep 17 00:00:00 2001
From: "David B. Kinder" <david.b.kinder@intel.com>
Date: Thu, 19 Jan 2023 16:56:34 -0800
Subject: [PATCH] doc: fix missing numbered-step icon

Sphinx version 5 generates &lt;section&gt; instead of &lt;div&gt; for
section headings.  This throws off the custom CSS style for numbered
steps so the number icon wasn't showing up.  Tweak the custom CSS to
look for both &lt;section&gt; and &lt;div&gt; with class=numbered-step
to handle Sphinx 4 and 5-generated content.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
---
 doc/static/acrn-custom.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/static/acrn-custom.css b/doc/static/acrn-custom.css
index 45e1686c9..296a69d41 100644
--- a/doc/static/acrn-custom.css
+++ b/doc/static/acrn-custom.css
@@ -291,7 +291,8 @@ body {
    counter-reset: step-count;
 }
 
-div.numbered-step h2::before {
+div.numbered-step h2::before,
+section.numbered-step h2::before {
   counter-increment: step-count;
   content: counter(step-count);
   background: #cccccc;