Hide the extra H1 heading in the docs

Hide the extra heading in the docs so we don't have double headers
showing up on each of the pages. Something changed in the wallaby
release that causes multiple headers to show. This patch introduces
some custom css to hide it for the time being.

Change-Id: I5994bacda8a420db2d095cb98d75347fdd5e3f6d
This commit is contained in:
Billy Olsen 2021-08-04 16:46:24 -07:00
parent 24644ca603
commit 6396896684
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,6 @@
/* Get rid of the double header on the page. This should really be fixed
* in the openstackdocstheme, but this is a temporary fix. */
.docs-body h1 {
display: none;
}

View File

@ -139,7 +139,11 @@ html_theme = 'openstackdocs'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = []
html_static_path = ['_static']
html_css_files = [
'css/custom.css',
]
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied