Skip to content

Commit

Permalink
Fix documentation stylesheets for ReadTheDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
clenk committed Apr 4, 2018
1 parent 12e4f92 commit 27a60a1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@
# relative to this directory. They are copied after the builtin static files,
# 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
],
}

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down Expand Up @@ -170,3 +165,7 @@
author, 'MultiScanner', 'One line description of project.',
'Miscellaneous'),
]


def setup(app):
app.add_stylesheet('theme_overrides.css')

0 comments on commit 27a60a1

Please sign in to comment.