Skip to content

Commit 9d96b69

Browse files
doc/conf: drop obsolete html_theme_path
Since sphinx_rtd_theme 3.0.0rc1, "html_theme_path" is obsolete: "Raise a warning when defining html_theme_path. This was an old config that’s not required anymore." [1] Fixes warnings such as: sphinx.errors.SphinxWarning: Calling get_html_theme_path is deprecated. If you are calling it to define html_theme_path, you are safe to remove that code. Fixes labgrid's CI which is building the docs with -W, treating warnings as errors. [1] https://sphinx-rtd-theme.readthedocs.io/en/stable/changelog.html Signed-off-by: Bastian Krause <[email protected]>
1 parent de12746 commit 9d96b69

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

doc/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@
9595
#
9696
html_theme = 'sphinx_rtd_theme'
9797

98-
# Set correct html_path for rtd theme:
99-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
100-
10198
# Theme options are theme-specific and customize the look and feel of a theme
10299
# further. For a list of options available for each theme, see the
103100
# documentation.

0 commit comments

Comments
 (0)