Skip to content

Commit f826bf1

Browse files
author
avandras
committed
Fix docs depracation warning
1 parent 55a1c14 commit f826bf1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

docs/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@
114114

115115
html_theme = 'sphinx_rtd_theme'
116116
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
117-
if not on_rtd: # only import and set the theme if we're building docs locally
118-
import sphinx_rtd_theme
119-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
120117

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

requirements.docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
sphinx>=4
2-
sphinx_rtd_theme>1,<=2
2+
sphinx_rtd_theme>1
33
sphinxcontrib-apidoc
44
sphinx-github-style<1.0.3

0 commit comments

Comments
 (0)