From 58ee52b401ce879cbb0cbc98c0abdc41506fea2d Mon Sep 17 00:00:00 2001 From: Polina Bungina <27892524+hughcapet@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:06:55 +0200 Subject: [PATCH] Docs compatibility with sphinx 8 (#3177) --- docs/conf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index a1d78587..a4614c45 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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