On Tue, 2021-05-11 at 11:14 -0400, Peter Matulis wrote:
I suspect you're bumping into issues introduced by a new version of Sphinx or docutils (new versions of both were released recently).
Comparing the current nova docs [1] to what you have, I see the duplicate <h1> element is present but hidden by the following CSS rule:
.docs-body .section h1 {
display: none;
}
That works because we have the following HTML in the nova docs:
<div class="section" id="extra-specs">
<h1>Extra Specs<a class="headerlink" href="#extra-specs" title="Permalink to this headline">¶</a></h1>
...
</div>
while the docs you linked are using the HTML5 semantic '<section>' tag:
<section id="nova-cells">
<h1>Nova Cells<a class="headerlink" href="#nova-cells" title="Permalink to this headline">¶</a></h1>
...
</section>
So to fix this, we'll have to update the openstackdocstheme to handle these changes. I can try to take a look at this next week but I really wouldn't mind if someone beat me to it.
Stephen