Let's see if fetching the version from the octoprint module works on rtd...
This commit is contained in:
parent
65624ed77e
commit
85fc2b2666
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue