Skip to content

Commit 230de6b

Browse files
committed
revert some breaking changes
1 parent 87b5781 commit 230de6b

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

docs/source/conf.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,7 @@
104104
# Theme options are theme-specific and customize the look and feel of a theme
105105
# further. For a list of options available for each theme, see the
106106
# documentation.
107-
#
108-
html_theme_options = {
109-
'collapse_navigation': False
110-
}
107+
# html_theme_options = {}
111108

112109
# The name for this set of Sphinx documents. If None, it defaults to
113110
# "<project> v<release> documentation".
@@ -130,12 +127,6 @@
130127
# so a file named "default.css" will overwrite the builtin "default.css".
131128
html_static_path = ['_static']
132129

133-
html_context = {'css_files': ['_static/theme_overrides.css'],
134-
'commit': False}
135-
# the above was copied from:
136-
# https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html
137-
# it fixes the table widths in the RTD theme
138-
139130
# Custom sidebar templates, must be a dictionary that maps document names
140131
# to template names.
141132
#
@@ -236,3 +227,13 @@
236227
'Pure Python implementation of d-dimensional AABB tree.',
237228
'Miscellaneous'),
238229
]
230+
231+
232+
# -- Override for table width ------------------------------------------------
233+
234+
def setup(app):
235+
app.add_css_file('theme_overrides.css')
236+
237+
# the above was copied from:
238+
# https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html
239+
# it fixes the table widths in the RTD theme

0 commit comments

Comments
 (0)