mirror of
https://github.com/irmen/prog8.git
synced 2025-07-27 23:24:43 +00:00
fix doc version
This commit is contained in:
@@ -23,11 +23,19 @@ copyright = 'Irmen de Jong'
|
|||||||
author = 'Irmen de Jong'
|
author = 'Irmen de Jong'
|
||||||
|
|
||||||
|
|
||||||
|
def read_properties(filename):
|
||||||
|
props = {}
|
||||||
|
for line in open("../../gradle.properties").readlines():
|
||||||
|
key, value = line.split('=')
|
||||||
|
props[key] = value
|
||||||
|
return props
|
||||||
|
|
||||||
# The short X.Y version
|
# The short X.Y version
|
||||||
version = open("../../compiler/res/version.txt").readline()
|
version = read_properties("gradle.properties")["version"]
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = version
|
release = version
|
||||||
|
|
||||||
|
|
||||||
# -- extensions
|
# -- extensions
|
||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
|
Reference in New Issue
Block a user