Skip to content

Commit

Permalink
docs: expand wy-nav-content width to edge of screen (#2452)
Browse files Browse the repository at this point in the history
  • Loading branch information
EasyIP2023 authored Aug 22, 2024
1 parent 28affa2 commit 37b5824
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/_static/theme_overrides.css
Original file line number Diff line number Diff line change
@@ -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; }

}
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#
#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
Expand All @@ -61,7 +62,11 @@
# 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.
Expand Down

0 comments on commit 37b5824

Please sign in to comment.