mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-25 00:02:31 +00:00
docs - update RTD theme
This commit is contained in:
parent
974c0ce158
commit
bf58c03160
@ -2,4 +2,4 @@ parse_cmake
|
|||||||
sphinx==7.1.2
|
sphinx==7.1.2
|
||||||
docutils==0.18.1
|
docutils==0.18.1
|
||||||
jinja2==3.1.4
|
jinja2==3.1.4
|
||||||
sphinx_rtd_theme==1.3.0
|
sphinx_rtd_theme==3.0.0
|
||||||
|
3
docs/source/_static/global.css
Normal file
3
docs/source/_static/global.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.version-switch select option {
|
||||||
|
color: black;
|
||||||
|
}
|
@ -144,7 +144,8 @@ html_theme = 'sphinx_rtd_theme'
|
|||||||
# further. For a list of options available for each theme, see the
|
# further. For a list of options available for each theme, see the
|
||||||
# documentation.
|
# documentation.
|
||||||
html_theme_options = {
|
html_theme_options = {
|
||||||
'navigation_with_keys': True
|
'navigation_with_keys': True,
|
||||||
|
'flyout_display': 'attached',
|
||||||
}
|
}
|
||||||
|
|
||||||
# Add any paths that contain custom themes here, relative to this directory.
|
# Add any paths that contain custom themes here, relative to this directory.
|
||||||
@ -179,7 +180,11 @@ def setup(app):
|
|||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
html_static_path = [
|
html_static_path = [
|
||||||
'_static'
|
'_static'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
html_css_files = [
|
||||||
|
'global.css',
|
||||||
|
]
|
||||||
|
|
||||||
# Add any extra paths that contain custom files (such as robots.txt or
|
# Add any extra paths that contain custom files (such as robots.txt or
|
||||||
# .htaccess) here, relative to this directory. These files are copied
|
# .htaccess) here, relative to this directory. These files are copied
|
||||||
|
Loading…
x
Reference in New Issue
Block a user