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

(cherry picked from commit 85fc2b2)
This commit is contained in:
Gina Häußge 2014-06-30 11:13:47 +02:00
parent 0d5d28e4a6
commit 9e2e616e1b

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