enable cups binding in documentation

This commit is contained in:
Patrick Kanzler 2023-08-10 00:33:14 +02:00
parent 98c53cb256
commit 00ca32372f
2 changed files with 4 additions and 3 deletions

View File

@ -440,9 +440,9 @@ if _CUPSPRINT:
"""Simple CUPS printer connector. """Simple CUPS printer connector.
.. note:: .. note::
Requires _pycups_ which in turn needs the cups development library package: Requires ``pycups`` which in turn needs the cups development library package:
- Ubuntu/Debian: _libcups2-dev_ - Ubuntu/Debian: ``libcups2-dev``
- OpenSuse/Fedora: _cups-devel_ - OpenSuse/Fedora: ``cups-devel``
""" """
def __init__(self, printer_name=None, *args, **kwargs): def __init__(self, printer_name=None, *args, **kwargs):

View File

@ -34,6 +34,7 @@ deps = sphinx>=3.0.0
sphinxcontrib-spelling>=7.2.0 sphinxcontrib-spelling>=7.2.0
sphinxcontrib.datatemplates sphinxcontrib.datatemplates
sphinx_rtd_theme sphinx_rtd_theme
pycups
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8] [testenv:flake8]