docs: tune RTD to display lists with disc and left margin

RTD default theme removes discs from the section list items which makes
design pages look strange. Add them back via small CSS override.
Also, add 1em on the left side of the disc to provide visual cue that
this is a list item.

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
Reviewed-By: Sumit Bose <sbose@redhat.com>
This commit is contained in:
Alexander Bokovoy 2022-05-04 22:31:28 +03:00
parent 73daf6b50b
commit 79a4073730
2 changed files with 9 additions and 1 deletions

4
doc/_static/css/ipa.css vendored Normal file
View File

@ -0,0 +1,4 @@
section ul.simple li {
list-style: disc;
margin-left: 1em;
}

View File

@ -73,7 +73,11 @@ html_theme = 'default'
# 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 = ['_static']
html_static_path = ['_static']
html_css_files = [
'css/ipa.css',
]
# -- Options for sources -----------------------------------------------------