1
0
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:
Patrick Kanzler
2023-05-18 16:33:20 +02:00
committed by GitHub
parent 66348ccc0a
commit 905e37e52e
5 changed files with 35 additions and 17 deletions

View File

@@ -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

View File

@@ -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