1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

fix rtd theme (#553)

* use rtd_theme

* add types for serial

* annotate types where possible

* fix imports
This commit is contained in:
Patrick Kanzler
2023-08-25 01:19:23 +02:00
committed by GitHub
parent 6c49e4a057
commit c7c01cdbff
3 changed files with 36 additions and 55 deletions

View File

@@ -126,7 +126,7 @@ pygments_style = "sphinx"
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
if on_rtd:
html_theme = "default"
html_theme = "sphinx_rtd_theme"
print("recognized execution on RTD")
else:
try: