Docs compatibility with sphinx 8 (#3177)

This commit is contained in:
Polina Bungina
2024-10-10 11:06:55 +02:00
committed by GitHub
parent 877acf2a55
commit 58ee52b401
-3
View File
@@ -116,9 +116,6 @@ todo_include_todos = True
html_theme = 'sphinx_rtd_theme'
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# 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