Let's see if fetching the version from the octoprint module works on rtd...

This commit is contained in:
Gina Häußge 2014-06-30 11:13:47 +02:00
parent 65624ed77e
commit 85fc2b2666

View file

@ -49,7 +49,8 @@ copyright = u'2013, Gina Häußge'
# built documents.
#
# The short X.Y version.
version = open("../VERSION").read().strip()
import octoprint._version
version = octoprint._version.get_versions()["version"]
# The full version, including alpha/beta/rc tags.
release = version