From d2646bb3f39a5300032e5fea0fc01add773a31e7 Mon Sep 17 00:00:00 2001 From: Miki Date: Tue, 3 May 2022 11:31:13 -0700 Subject: [PATCH 1/2] Allow `latest` version not to be the `current` version of the documentation Signed-off-by: Miki --- _data/versions.json | 9 ++++++--- _layouts/default.html | 1 - assets/js/_version-selector.js | 5 ++++- assets/js/version-selector.tpl | 13 +++++++++++-- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/_data/versions.json b/_data/versions.json index 5881881e..dfced078 100644 --- a/_data/versions.json +++ b/_data/versions.json @@ -1,8 +1,11 @@ { "current": "1.3", - "past": [ + "all": [ + "2.0", + "1.3", "1.2", "1.1", "1.0" - ] -} + ], + "latest": "1.3" +} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 4ae7477a..13819568 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -57,7 +57,6 @@ layout: table_wrappers