From 315844ccd86a907bcc4b05fb585e94a2e48956b5 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Fri, 22 Aug 2025 07:58:41 +0200 Subject: [PATCH] docs: fix deprecated inclusion of rtd theme path Since userguide/conf.py uses the deprecated get_html_theme_path(), sphinx emits a warning which breaks the build as warnings are treated as errors. Issue: 7859 --- doc/userguide/conf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/userguide/conf.py b/doc/userguide/conf.py index 48d5e24dad..64f04b3eff 100644 --- a/doc/userguide/conf.py +++ b/doc/userguide/conf.py @@ -138,7 +138,6 @@ if not on_rtd: try: import sphinx_rtd_theme html_theme = 'sphinx_rtd_theme' - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] except: html_theme = 'default' else: