1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-06-25 08:38:43 +00:00

remove call to get_html_theme_path

according to deprection warning of sphinx-rtd-theme>=3
This commit is contained in:
Patrick Kanzler 2024-10-10 14:23:13 +02:00
parent 50863c1c5e
commit 805d66d7bf

View File

@ -134,7 +134,6 @@ else:
import sphinx_rtd_theme import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme" html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
except ImportError: except ImportError:
print("no sphinx_rtd_theme found, switching to nature") print("no sphinx_rtd_theme found, switching to nature")
html_theme = "default" html_theme = "default"