From c57b9c35dc8e5479d561239874457526ed394a96 Mon Sep 17 00:00:00 2001 From: Maximilian Wagenbach Date: Sun, 31 May 2020 16:21:42 +0200 Subject: [PATCH] Use https links. --- CONTRIBUTING.rst | 4 ++-- README.rst | 12 +++++------- doc/Makefile | 2 +- doc/make.bat | 2 +- examples/graphics/climacons/readme.md | 6 +++--- examples/weather.py | 2 +- src/escpos/constants.py | 2 +- 7 files changed, 14 insertions(+), 16 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index dd0bb9b..7f6b40f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -9,7 +9,7 @@ In order to reduce the amount of work for everyone please try to adhere to good The pull requests and issues will be prefilled with templates. Please fill in your information where applicable. -This project uses `semantic versioning `_ and tries to adhere to the proposed rules as +This project uses `semantic versioning `_ and tries to adhere to the proposed rules as well as possible. Author-list @@ -62,7 +62,7 @@ You can copy the structure from other testcases. Please remember to adapt the do Further reading ^^^^^^^^^^^^^^^ For further best practices and hints on contributing please see the -`contribution-guide `_. Should there be any contradictions between this guide +`contribution-guide `_. Should there be any contradictions between this guide and the linked one, please stick to this text. Aside from that feel free to create an issue or write an email if anything is unclear. diff --git a/README.rst b/README.rst index 86683b0..bd545aa 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ python-escpos - Python library to manipulate ESC/POS Printers :alt: Code Coverage .. image:: https://readthedocs.org/projects/python-escpos/badge/?version=latest - :target: http://python-escpos.readthedocs.io/en/latest/?badge=latest + :target: https://python-escpos.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status @@ -67,18 +67,18 @@ Another example based on the Network printer class: .. code:: python from escpos.printer import Network - + kitchen = Network("192.168.1.100") #Printer IP Address kitchen.text("Hello World\n") kitchen.barcode('1324354657687', 'EAN13', 64, 2, '', '') kitchen.cut() - + Another example based on the Serial printer class: .. code:: python from escpos.printer import Serial - + """ 9600 Baud, 8N1, Flow Control Enabled """ p = Serial(devfile='/dev/tty.usbserial', baudrate=9600, @@ -98,7 +98,7 @@ The full project-documentation is available on `Read the Docs `_ for more information. +This project is open for any contribution! Please see `CONTRIBUTING.rst `_ for more information. Disclaimer @@ -106,5 +106,3 @@ Disclaimer None of the vendors cited in this project agree or endorse any of the patterns or implementations. Its names are used only to maintain context. - - diff --git a/doc/Makefile b/doc/Makefile index 535ebbd..bf68b2a 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -9,7 +9,7 @@ BUILDDIR = _build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) -$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) +$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from https://sphinx-doc.org/) endif # Internal variables. diff --git a/doc/make.bat b/doc/make.bat index 8e2ddc9..dbee13a 100644 --- a/doc/make.bat +++ b/doc/make.bat @@ -56,7 +56,7 @@ if errorlevel 9009 ( echo.may add the Sphinx directory to PATH. echo. echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ + echo.https://sphinx-doc.org/ exit /b 1 ) diff --git a/examples/graphics/climacons/readme.md b/examples/graphics/climacons/readme.md index d610a00..99a0ca9 100644 --- a/examples/graphics/climacons/readme.md +++ b/examples/graphics/climacons/readme.md @@ -1,10 +1,10 @@ # Climacons by Adam Whitcroft -75 climatically categorised pictographs for web and UI design by [@adamwhitcroft](http://www.twitter.com/#!/adamwhitcroft). +75 climatically categorised pictographs for web and UI design by [@adamwhitcroft](https://www.twitter.com/#!/adamwhitcroft). -Visit the [Climacons](http://adamwhitcroft.com/climacons/) website for more information. +Visit the [Climacons](https://adamwhitcroft.com/climacons/) website for more information. Visit [Adam Whitcroft on GitHub](https://github.com/AdamWhitcroft) ## License -You are free to use any of the Climacons Icons (the "icons") in any personal or commercial work without obligation of payment (monetary or otherwise) or attribution, however a credit for the work would be appreciated. **Do not** redistribute or sell and **do not** claim creative credit. Intellectual property rights are not transferred with the download of the icons. \ No newline at end of file +You are free to use any of the Climacons Icons (the "icons") in any personal or commercial work without obligation of payment (monetary or otherwise) or attribution, however a credit for the work would be appreciated. **Do not** redistribute or sell and **do not** claim creative credit. Intellectual property rights are not transferred with the download of the icons. diff --git a/examples/weather.py b/examples/weather.py index e03b19f..2ba457b 100644 --- a/examples/weather.py +++ b/examples/weather.py @@ -9,7 +9,7 @@ # Written by Adafruit Industries. MIT license. # Adapted and enhanced for escpos library by MrWunderbar666 -# Icons taken from http://adamwhitcroft.com/climacons/ +# Icons taken from https://adamwhitcroft.com/climacons/ # Check out his github: https://github.com/AdamWhitcroft/climacons diff --git a/src/escpos/constants.py b/src/escpos/constants.py index fc30bce..6ebfc91 100644 --- a/src/escpos/constants.py +++ b/src/escpos/constants.py @@ -15,7 +15,7 @@ moved to `capabilities` as in `escpos-php by @mike42