Skip to content

Commit 9ad7dd3

Browse files
authored
Merge pull request #409 from EasyIP2023/feature/expand-content-width
docs: expand wy-nav-content width to edge of screen
2 parents 28142b5 + d2642eb commit 9ad7dd3

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

docs/source/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
# a list of builtin themes.
9292
#
9393
html_theme = 'sphinx_rtd_theme'
94+
pygments_style = 'monokai'
9495

9596
# Theme options are theme-specific and customize the look and feel of a theme
9697
# further. For a list of options available for each theme, see the
@@ -111,8 +112,11 @@
111112
# Add any paths that contain custom static files (such as style sheets) here,
112113
# relative to this directory. They are copied after the builtin static files,
113114
# so a file named "default.css" will overwrite the builtin "default.css".
114-
# html_static_path = ['_static']
115+
html_static_path = ['sphinx-static']
115116

117+
# Add customm CSS and JS files
118+
html_css_files = ['theme_overrides.css']
119+
html_js_files = []
116120

117121
# -- Options for HTMLHelp output ------------------------------------------
118122

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@media screen {
2+
/* content column
3+
*
4+
* RTD theme's default is 800px as max width for the content, but we have
5+
* tables with tons of columns, which need the full width of the view-port.
6+
*
7+
* Comment from yocto project theme_overrides.css
8+
*/
9+
10+
.wy-nav-content{ max-width: none; }
11+
12+
}

0 commit comments

Comments
 (0)