From 00ca32372f8aafeee72f9a23555f9c085f4b6227 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Thu, 10 Aug 2023 00:33:14 +0200 Subject: [PATCH] enable cups binding in documentation --- src/escpos/printer.py | 6 +++--- tox.ini | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/escpos/printer.py b/src/escpos/printer.py index f2fbe6e..d8342c0 100644 --- a/src/escpos/printer.py +++ b/src/escpos/printer.py @@ -440,9 +440,9 @@ if _CUPSPRINT: """Simple CUPS printer connector. .. note:: - Requires _pycups_ which in turn needs the cups development library package: - - Ubuntu/Debian: _libcups2-dev_ - - OpenSuse/Fedora: _cups-devel_ + Requires ``pycups`` which in turn needs the cups development library package: + - Ubuntu/Debian: ``libcups2-dev`` + - OpenSuse/Fedora: ``cups-devel`` """ def __init__(self, printer_name=None, *args, **kwargs): diff --git a/tox.ini b/tox.ini index 97849d0..cfd319d 100644 --- a/tox.ini +++ b/tox.ini @@ -34,6 +34,7 @@ deps = sphinx>=3.0.0 sphinxcontrib-spelling>=7.2.0 sphinxcontrib.datatemplates sphinx_rtd_theme + pycups commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html [testenv:flake8]