Skip to content

Commit 6f4517d

Browse files
author
Hugo Osvaldo Barrera
authored
Merge pull request #65 from heuer/feature/doc_fixes
Fixed Sphinx errors
2 parents 7f9ca96 + b9a5bab commit 6f4517d

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
lines changed
File renamed without changes.

docs/source/barcode.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Introduction
22
============
33

44
This package was created to have barcodes available with pure-python.
5-
Pillow_ is required for exporting for exporting images (png, jpg), although not
5+
Pillow_ is required for exporting images (png, jpg), although not
66
for SVGs.
77

88
All you need to create a barcode is to know the system (EAN, UPC, ...)
@@ -11,8 +11,6 @@ need the checksum, it will be calculated automatically. In some systems
1111
(Code 39) the checksum is optional, there you can give the `add_checksum`
1212
keyword argument (default is True).
1313

14-
As of version 0.7beta3 Python 3 is supported, but not well tested.
15-
1614
.. _Pillow: https://python-pillow.org/
1715

1816
Creating barcodes as SVG

docs/source/conf.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#
1212
# All configuration values have a default; values that are commented out
1313
# serve to show the default.
14-
15-
import os
1614
import sys
1715

1816
# If extensions (or modules to document with autodoc) are in another directory,
@@ -21,7 +19,7 @@
2119
# sys.path.append(os.path.abspath('.'))
2220
from barcode import version
2321

24-
LOGO = os.path.join("images", "pybarcode_small.png")
22+
LOGO = '_static/images/pybarcode_small.png'
2523

2624
# -- General configuration ----------------------------------------------------
2725

@@ -133,7 +131,7 @@
133131
# Add any paths that contain custom static files (such as style sheets) here,
134132
# relative to this directory. They are copied after the builtin static files,
135133
# so a file named "default.css" will overwrite the builtin "default.css".
136-
html_static_path = ["_static"]
134+
html_static_path = ['_static']
137135

138136
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
139137
# using the given strftime format.

docs/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
㊙️ python-barcode's documentation
2-
=================================
2+
===================================
33

4-
.. image:: /images/pybarcode.png
4+
.. image:: _static/images/pybarcode.png
55

66
Contents
77
--------

docs/source/writers/image.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ python-barcode ImageWriter
33

44
.. versionadded:: 0.4b1
55

6-
Creates barcodes as image. All imagetypes supported by Pillow are availble.
6+
Creates barcodes as image. All imagetypes supported by Pillow are available.
77

88
Special Options
99
---------------

0 commit comments

Comments
 (0)