Skip to content

Commit

Permalink
fix: upgrade Sphinx to fix readthedocs theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rgonalo committed Nov 17, 2023
1 parent c344b2e commit e595053
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ v3.1.1

*Release date: In development*

- Upgrade Sphinx version from 4.* to 7.* to fix readthedocs theme format

v3.1.0
------

Expand Down
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
'sphinx.ext.todo',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx_rtd_theme',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -127,7 +128,9 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
#html_theme = 'default'
import sphinx_rtd_theme
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
6 changes: 3 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Sphinx==4.*
sphinx_rtd_theme==1.*
readthedocs-sphinx-search==0.1.*
Sphinx~=7.2
sphinx_rtd_theme~=1.3
readthedocs-sphinx-search~=0.3

0 comments on commit e595053

Please sign in to comment.