Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Commit a4e05c7

Browse files
committed
sphinx fixes; a new hope that this will work
1 parent df0b3b0 commit a4e05c7

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

adafruit_thermal_printer/thermal_printer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
# THE SOFTWARE.
2222
"""
23-
`adafruit_thermal_printer`
23+
`adafruit_thermal_printer.thermal_printer`
2424
====================================================
2525
2626
Thermal printer control module built to work with small serial thermal

adafruit_thermal_printer/thermal_printer_264.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,17 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
# THE SOFTWARE.
2222
"""
23-
`adafruit_thermal_printer_264`
23+
`adafruit_thermal_printer.thermal_printer_264`
2424
====================================================
2525
2626
Thermal printer control module built to work with small serial thermal
2727
receipt printers. Note that these printers have many different firmware
2828
versions and care must be taken to select the appropriate module inside this
2929
package for your firmware printer:
30-
- thermal_printer = The latest printers with firmware version 2.68+
31-
- thermal_printer_264 = Printers with firmware version 2.64 up to 2.68.
32-
- thermal_printer_legacy = Printers with firmware version before 2.64.
30+
31+
* thermal_printer = The latest printers with firmware version 2.68+
32+
* thermal_printer_264 = Printers with firmware version 2.64 up to 2.68.
33+
* thermal_printer_legacy = Printers with firmware version before 2.64.
3334
3435
* Author(s): Tony DiCola
3536
"""

adafruit_thermal_printer/thermal_printer_legacy.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,17 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
# THE SOFTWARE.
2222
"""
23-
`adafruit_thermal_printer_legacy`
23+
`adafruit_thermal_printer.thermal_printer_legacy`
2424
====================================================
2525
2626
Thermal printer control module built to work with small serial thermal
2727
receipt printers. Note that these printers have many different firmware
2828
versions and care must be taken to select the appropriate module inside this
2929
package for your firmware printer:
30-
- thermal_printer = The latest printers with firmware version 2.68+
31-
- thermal_printer_264 = Printers with firmware version 2.64 up to 2.68.
32-
- thermal_printer_legacy = Printers with firmware version before 2.64.
30+
31+
* thermal_printer = The latest printers with firmware version 2.68+
32+
* thermal_printer_264 = Printers with firmware version 2.64 up to 2.68.
33+
* thermal_printer_legacy = Printers with firmware version before 2.64.
3334
3435
* Author(s): Tony DiCola
3536
"""
@@ -128,7 +129,9 @@ def feed(self, lines):
128129

129130
def has_paper(self):
130131
"""Return a boolean indicating if the printer has paper. You MUST have
131-
the serial RX line hooked up for this to work. NOTE: be VERY CAREFUL
132+
the serial RX line hooked up for this to work.
133+
134+
.. note:: be VERY CAREFUL
132135
to ensure your board can handle a 5V serial input before hooking up
133136
the RX line!
134137
"""

0 commit comments

Comments
 (0)