Let's see if fetching the version from the octoprint module works on rtd...
This commit is contained in:
1 parent
65624ed77e
commit
85fc2b2666
1 file changed
+2
-1
+2
-1
@@ -49,7 +49,8 @@ copyright = u'2013, Gina Häußge'
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# 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.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = version
|
release = version
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user