diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conf.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py index 1fe22e0..fe37fbf 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -57,9 +57,10 @@ copyright = u'2016, Stewart Smith, IBM, others' # built documents. # # The short X.Y version. -version = '5.4' +import subprocess +version = subprocess.check_output("../make_version.sh | sed -e 's/skiboot-//'", shell=True) # The full version, including alpha/beta/rc tags. -release = '5.4.0-rc2' +release = subprocess.check_output("../make_version.sh | sed -e 's/skiboot-//'", shell=True) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |