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]