Skip to content

Commit c946c3c

Browse files
authored
Merge pull request #594 from achaikou/readthedocs_theme
Bring back old readthedocs look
2 parents f541296 + 420e915 commit c946c3c

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

python/docs/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
'sphinx.ext.intersphinx',
5151
'sphinx.ext.imgmath',
5252
'sphinx_gallery.gen_gallery',
53+
'sphinx_rtd_theme',
5354
]
5455

5556
autosummary_generate = True
@@ -155,6 +156,10 @@
155156
# If true, `todo` and `todoList` produce output, else they produce nothing.
156157
todo_include_todos = False
157158

159+
# Create table of contents entries for domain objects (e.g. functions, classes,
160+
# attributes, etc.). Default is True.
161+
toc_object_entries = False
162+
158163
# -- Options for Sphinx Gallery output ----------------------------------------------
159164
sphinx_gallery_conf = {
160165
# path to your examples scripts
@@ -179,7 +184,7 @@
179184
# The theme to use for HTML and HTML Help pages. See the documentation for
180185
# a list of builtin themes.
181186
#
182-
# html_theme = 'alabaster'
187+
html_theme = 'sphinx_rtd_theme'
183188

184189
# Theme options are theme-specific and customize the look and feel of a theme
185190
# further. For a list of options available for each theme, see the

requirements-readthedocs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
segyio
22
sphinx-gallery
33
matplotlib
4+
sphinx-rtd-theme

0 commit comments

Comments
 (0)