diff --git a/util/gh-pages/versions.html b/util/gh-pages/versions.html index 391e22a4743..a1d385c965a 100644 --- a/util/gh-pages/versions.html +++ b/util/gh-pages/versions.html @@ -36,7 +36,7 @@ @@ -54,10 +54,14 @@ .controller('docVersions', function ($scope, $http) { $scope.loading = true; - $scope.normalizeVersion = function(v) { + $scope.normalizeVersionDisplay = function(v) { return v.replace(/^v/, ''); }; + $scope.normalizeVersion = function(v) { + return v.replace(/^v/, '').replace(/^rust-/, ''); + }; + $scope.versionOrder = function(v) { if (v === 'master') { return Infinity; } if (v === 'current') { return Number.MAX_VALUE; }