1
1
mirror of https://github.com/tstack/lnav.git synced 2024-09-11 13:05:51 +03:00

[docs] try to fix css_files error

This commit is contained in:
Timothy Stack 2021-02-15 22:51:43 -08:00
parent 864168ec7f
commit 8fa4cef1b5

View File

@ -231,7 +231,6 @@ extensions = [
'sphinx-prompt',
'_ext.lnavlexer',
]
import sphinx_rtd_theme
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@ -328,11 +327,14 @@ html_theme_options = {
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_context = {
'css_files': [
'_static/theme_overrides.css', # override wide tables in RTD theme
],
}
def setup(app):
app.add_css_file('theme_overrides.css')
#html_context = {
# 'css_files': [
# '_static/theme_overrides.css', # override wide tables in RTD theme
# ],
#}
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.