Skip to content

Commit

Permalink
More fixes for RtD.
Browse files Browse the repository at this point in the history
  • Loading branch information
JSKenyon committed May 24, 2018
1 parent d796c3d commit c9d7947
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Expand Up @@ -30,7 +30,7 @@
######################
.DS_Store
.DS_Store?
._*
# ._*
.Spotlight-V100
.Trashes
ehthumbs.db
Expand Down Expand Up @@ -74,10 +74,9 @@ cubical.egg-info/*
examples/.ipynb_checkpoints/
test/SUBSET-D147-output.MS/table.*


# Folders #
###########
docs/_static/
#docs/_static/
docs/_build/
docs/_templates/

13 changes: 13 additions & 0 deletions docs/_static/theme_overrides.css
@@ -0,0 +1,13 @@
/* override table width restrictions */
@media screen and (min-width: 767px) {

.wy-table-responsive table td {
/* !important prevents the common CSS stylesheets from overriding
this as on RTD they are loaded after this stylesheet */
white-space: normal !important;
}

.wy-table-responsive {
overflow: visible !important;
}
}
2 changes: 0 additions & 2 deletions docs/conf.py
Expand Up @@ -112,8 +112,6 @@ def setup(app):
#app.add_javascript("custom.js")
app.add_stylesheet("theme_overrides.css")

html_static_path = ['_static']

# html_context = {
# 'css_files': [
# '_static/theme_overrides.css', # override wide tables in RTD theme
Expand Down

0 comments on commit c9d7947

Please sign in to comment.