doc: Fixed short docs version being the full version string and not Major.Minor
@@ -53,10 +53,10 @@ copyright = u'2015-2016, Franklin "Snaipe" Mathieu'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
-# The short X.Y version.
-version = '2.3.0'
# The full version, including alpha/beta/rc tags.
-release = version
+release = '2.3.0'
+# The short X.Y version.
+version = re.search(r'\d+\.\d+', release).group(0)
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
