1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

Improve diagnostic output (#577)

* add extended version information

* autodocument argparser

* add spelling exception

* fix docstrings

* add annotations

* use typing types

* add test
This commit is contained in:
Patrick Kanzler
2023-10-05 14:15:19 +02:00
committed by GitHub
parent ba0167f1fd
commit ecfeeb9b13
9 changed files with 87 additions and 11 deletions

View File

@@ -43,6 +43,7 @@ extensions = [
"sphinx.ext.graphviz",
"sphinx.ext.inheritance_diagram",
"sphinx.ext.imgconverter",
"sphinxarg.ext",
"sphinxcontrib.datatemplates",
"sphinxcontrib.spelling",
]

View File

@@ -24,6 +24,7 @@ are relevant to the user of this library.
user/printers
user/raspi
user/usage
user/cli-user
user/barcode
Printer profiles

View File

@@ -11,5 +11,6 @@ python-barcode>=0.11.0,<1
importlib-metadata
importlib_resources
sphinxcontrib.datatemplates
sphinx-argparse
sphinx-autodoc-typehints
pycups

View File

@@ -89,6 +89,7 @@ ean
Ean
encodable
fff
fullimage
io
json
latin

10
doc/user/cli-user.rst Normal file
View File

@@ -0,0 +1,10 @@
CLI
===
:Last Reviewed: 2023-09-25
Documentation of the command line interface, callable with ``python-escpos``.
.. argparse::
:ref: escpos.cli.generate_parser
:prog: python-escpos