From 2e9d1919b9c440587e59f4a711850b1d5f74b5c8 Mon Sep 17 00:00:00 2001 From: megha Date: Thu, 18 Feb 2021 13:16:00 +0530 Subject: [PATCH 1/4] fixed bug id #567 --- doc/sphinx/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index 5688a5d52..c7302eae3 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -24,9 +24,9 @@ author = 'SiFive Inc.' # The short X.Y version -version = os.environ['RELEASE_TAG'] +#version = os.environ['RELEASE_TAG'] # The full version, including alpha/beta/rc tags -release = version +#release = version # -- General configuration --------------------------------------------------- From ff3bb831c0841a4b04552508918c415b73ba5ce0 Mon Sep 17 00:00:00 2001 From: megha Date: Thu, 18 Feb 2021 16:17:33 +0530 Subject: [PATCH 2/4] bug fix #567 --- doc/sphinx/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index c7302eae3..56702a17e 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -13,6 +13,8 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. # import os +import lsb_release + # import sys # sys.path.insert(0, os.path.abspath('.')) @@ -24,7 +26,9 @@ author = 'SiFive Inc.' # The short X.Y version +distro_info = lsb_release.get_distro_information() #version = os.environ['RELEASE_TAG'] +release = distro_info['RELEASE'] # The full version, including alpha/beta/rc tags #release = version From 3587d1db9a5f486ec25922851005650272c0d71a Mon Sep 17 00:00:00 2001 From: megha Date: Thu, 18 Feb 2021 16:41:08 +0530 Subject: [PATCH 3/4] fixed bug id #567 --- doc/sphinx/conf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index 56702a17e..43d5a475b 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -27,10 +27,8 @@ # The short X.Y version distro_info = lsb_release.get_distro_information() -#version = os.environ['RELEASE_TAG'] release = distro_info['RELEASE'] -# The full version, including alpha/beta/rc tags -#release = version + # -- General configuration --------------------------------------------------- From df84e42b888de9a10dd684db5dacc55374c6023e Mon Sep 17 00:00:00 2001 From: megha Date: Mon, 22 Feb 2021 10:48:22 +0530 Subject: [PATCH 4/4] bug fix for issue #567 --- doc/sphinx/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index 43d5a475b..e48870d64 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -27,6 +27,8 @@ # The short X.Y version distro_info = lsb_release.get_distro_information() + +# The full version, including alpha/beta/rc tags release = distro_info['RELEASE']