Skip to content

Commit 790097c

Browse files
committed
Fix docs not building
1 parent fc5e2db commit 790097c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from os.path import abspath, join, dirname
1717

18-
sys.path.insert(0, abspath(join(dirname(__file__), '..', 'pynetworktables2js')))
18+
sys.path.insert(0, abspath(join(dirname(__file__), '..')))
1919

2020
import pynetworktables2js
2121

@@ -54,7 +54,7 @@
5454
# built documents.
5555
#
5656
# The short X.Y version.
57-
version = pynetworktables2js.__version__.split('.')[:2]
57+
version = '.'.join(pynetworktables2js.__version__.split('.')[:2])
5858
# The full version, including alpha/beta/rc tags.
5959
release = pynetworktables2js.__version__
6060

0 commit comments

Comments
 (0)