Skip to content

Commit

Permalink
Drop override theme.css
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Nov 28, 2016
1 parent b8b96c3 commit 60bd33f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions docs/_static/theme_overrides.css

This file was deleted.

15 changes: 0 additions & 15 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,24 +134,9 @@
'numpy': ('https://docs.scipy.org/doc/numpy', None),
}

html_static_path = ['_static']
html_context = {
'css_files': [
'_static/theme_overrides.css',
],
}

# RTD theme support:
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
else:
html_context = {
'css_files': [
'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
'_static/theme_overrides.css',
],
}

0 comments on commit 60bd33f

Please sign in to comment.