diff --git a/docs/conf.py b/docs/conf.py index 2b0959b964..5cb28ff8ba 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -190,9 +190,7 @@ def _get_versions(app, config): current_version = proc.stdout.decode("utf8") current_version_info = current_version.split(".") if current_version_info[0] == "0": - version_list = [ - "0.%s" % x for x in range(start_version[1], int(current_version_info[1]) + 1) - ] + version_list = ["0.%s" % x for x in range(start_version[1], int(current_version_info[1]))] else: # TODO: When 1.0.0 add code to handle 0.x version list version_list = []