Skip to content

Commit

Permalink
Merge pull request #594 from achaikou/readthedocs_theme
Browse files Browse the repository at this point in the history
Bring back old readthedocs look
  • Loading branch information
achaikou authored Feb 4, 2025
2 parents f541296 + 420e915 commit c946c3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
'sphinx.ext.intersphinx',
'sphinx.ext.imgmath',
'sphinx_gallery.gen_gallery',
'sphinx_rtd_theme',
]

autosummary_generate = True
Expand Down Expand Up @@ -155,6 +156,10 @@
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False

# Create table of contents entries for domain objects (e.g. functions, classes,
# attributes, etc.). Default is True.
toc_object_entries = False

# -- Options for Sphinx Gallery output ----------------------------------------------
sphinx_gallery_conf = {
# path to your examples scripts
Expand All @@ -179,7 +184,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
# html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
1 change: 1 addition & 0 deletions requirements-readthedocs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
segyio
sphinx-gallery
matplotlib
sphinx-rtd-theme

0 comments on commit c946c3c

Please sign in to comment.