Fix computation of doc series for odd minor version
(grafted from b51529a6afd0794498d1790e88b4805af582eb81) --HG-- branch : 8.0
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ def get_info():
|
||||
info['series'] = 'latest'
|
||||
info['branch'] = 'branch/default'
|
||||
else:
|
||||
info['series'] = '.'.join(version.split('.', 2)[:2])
|
||||
info['series'] = '.'.join(metadata['version'].split('.', 2)[:2])
|
||||
info['branch'] = 'branch/' + info['series']
|
||||
|
||||
info['modules'] = [
|
||||
|
||||
Reference in New Issue
Block a user