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:
parent
50863c1c5e
commit
805d66d7bf
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user