Commit 343bbefc authored by Maciej Delmanowski's avatar Maciej Delmanowski

[docs] Add RTD theme overrides

This patch should improve the rendering of the tables in the HTML
documentation. The text in the table cells should be properly wrapped,
and the first column will be vertically aligned to the top to make
reading option names easier.
parent dc39dca0
/* Override table width restrictions */
/* Source: */
@media screen and (min-width: 767px) {
.wy-table-responsive table td {
/* !important prevents the common CSS stylesheets from overriding
this as on RTD they are loaded after this stylesheet */
white-space: normal !important;
.wy-table-responsive {
overflow: visible !important;
/* Align table elements in the first column to the top */
.rst-content table.docutils td:first-child {
vertical-align: top;
......@@ -61,7 +61,10 @@ html_context = {
'source_file_to_url_map': edit_url.get_source_file_to_url_map(
'css_files': [
# -- General configuration ------------------------------------------------
......@@ -202,7 +205,7 @@ html_favicon = '_static/favicon.ico'
# 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']
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment