mirror of
https://github.com/python-escpos/python-escpos
synced 2025-08-24 09:03:34 +00:00
update read the docs config (#520)
* update read the docs config * add hints on black code style * add link to black * fix path to requirements * include submodules in build * add submodule capabilities-data * format as list * post on execution on RTD * use sphinx rtd theme 1.2.0 * add apt dependencies
This commit is contained in:
@@ -122,6 +122,7 @@ pygments_style = "sphinx"
|
||||
# a list of builtin themes.
|
||||
if on_rtd:
|
||||
html_theme = "default"
|
||||
print("recognized execution on RTD")
|
||||
else:
|
||||
try:
|
||||
import sphinx_rtd_theme
|
||||
|
@@ -2,7 +2,7 @@ pyusb
|
||||
Pillow>=2.0
|
||||
qrcode>=4.0
|
||||
pyserial
|
||||
sphinx-rtd-theme
|
||||
sphinx-rtd-theme==1.2.0
|
||||
setuptools
|
||||
setuptools-scm
|
||||
docutils>=0.12
|
||||
|
Reference in New Issue
Block a user