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
pull/13755/head
Theo Buehler 3 months ago committed by Victor Julien
parent 84145e212d
commit 315844ccd8

@ -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:

Loading…
Cancel
Save