mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-27 19:30:48 +00:00
doc: fix missing numbered-step icon
Sphinx version 5 generates <section> instead of <div> 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 <section> and <div> with class=numbered-step to handle Sphinx 4 and 5-generated content. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
parent
672f55b37c
commit
f8f1d22645
3
doc/static/acrn-custom.css
vendored
3
doc/static/acrn-custom.css
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user