mirror of
https://github.com/python-escpos/python-escpos
synced 2025-12-02 09:43:30 +00:00
post on execution on RTD
This commit is contained in:
@@ -122,6 +122,7 @@ pygments_style = "sphinx"
|
|||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
if on_rtd:
|
if on_rtd:
|
||||||
html_theme = "default"
|
html_theme = "default"
|
||||||
|
print("recognized execution on RTD")
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
import sphinx_rtd_theme
|
import sphinx_rtd_theme
|
||||||
|
|||||||
Reference in New Issue
Block a user