userguide: remove old css files

In our conf.py we reference some ReadTheDocs stylesheets that appear to
be old and break formatting of some items like bulletted lists.

Bug: #6589
pull/9939/head
Jason Ish 2 years ago committed by Victor Julien
parent 7f42506760
commit cc0adaaf4a

@ -137,20 +137,15 @@ if not on_rtd:
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
except: except:
html_theme = 'default' html_theme = 'default'
def setup(app):
if hasattr(app, 'add_css_file'):
app.add_css_file('css/suricata.css')
else:
app.add_stylesheet('css/suricata.css')
else: else:
html_theme = 'sphinx_rtd_theme' html_theme = 'sphinx_rtd_theme'
html_context = {
'css_files': [ # Add in our own stylesheet.
'https://media.readthedocs.org/css/sphinx_rtd_theme.css', def setup(app):
'https://media.readthedocs.org/css/readthedocs-doc-embed.css', if hasattr(app, 'add_css_file'):
'_static/css/suricata.css', app.add_css_file('css/suricata.css')
], else:
} app.add_stylesheet('css/suricata.css')
# Theme options are theme-specific and customize the look and feel of a theme # 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 # further. For a list of options available for each theme, see the

Loading…
Cancel
Save