Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

doc: strip newline from PyBayes version

...which breaks Sphinx inventory.
  • Loading branch information...
commit dfd59f3c803505e642d11976b11db65961580e32 1 parent 0efa257
@strohel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/conf.py
View
2  doc/conf.py
@@ -48,7 +48,7 @@
# built documents.
#
# The short X.Y version.
-version = subprocess.check_output([sys.executable, os.path.join(os.path.dirname(os.path.abspath('.')), 'setup.py'), '--version'])
+version = subprocess.check_output([sys.executable, os.path.join(os.path.dirname(os.path.abspath('.')), 'setup.py'), '--version']).strip()
# The full version, including alpha/beta/rc tags.
release = version
Please sign in to comment.
Something went wrong with that request. Please try again.