docs: expand wy-nav-content width to edge of screen (#2452)

This commit is contained in:
EasyIP2023 2024-08-22 12:10:19 -04:00 committed by GitHub
parent 28affa2346
commit 37b58243fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 1 deletions

12
docs/_static/theme_overrides.css vendored Normal file
View file

@ -0,0 +1,12 @@
@media screen {
/* content column
*
* RTD theme's default is 800px as max width for the content, but we have
* tables with tons of columns, which need the full width of the view-port.
*
* Comment from yocto project theme_overrides.css
*/
.wy-nav-content{ max-width: none; }
}

View file

@ -48,6 +48,7 @@ exclude_patterns = ['_build', '**/build', 'Thumbs.db', '.DS_Store', '*.yaml', '*
#
#html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
pygments_style = 'monokai'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@ -61,7 +62,11 @@ html_logo = '_static/openhw-landscape.svg'
# so a file named "default.css" will overwrite the builtin "default.css".
#html_static_path = ['ystatic']
# Set html_static_path to null on the advice of RTDs:
html_static_path = []
html_static_path = ['_static']
# Add customm CSS and JS files
html_css_files = ['theme_overrides.css']
html_js_files = []
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.