File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ cp util/gh-pages/index.html out/master
1111python3 ./util/export.py out/master/lints.json
1212
1313if [[ -n $TAG_NAME ]]; then
14- echo " Save the doc for the current tag ($TAG_NAME ) and point current / to it"
14+ echo " Save the doc for the current tag ($TAG_NAME ) and point stable / to it"
1515 cp -r out/master " out/$TAG_NAME "
16- rm -f out/current
17- ln -s " $TAG_NAME " out/current
16+ rm -f out/stable
17+ ln -s " $TAG_NAME " out/stable
1818fi
1919
2020# Generate version index that is shown as root index page
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ <h3 class="panel-title">
6464
6565 $scope . versionOrder = function ( v ) {
6666 if ( v === 'master' ) { return Infinity ; }
67- if ( v === 'current ' ) { return Number . MAX_VALUE ; }
67+ if ( v === 'stable ' ) { return Number . MAX_VALUE ; }
6868
6969 return $scope . normalizeVersion ( v )
7070 . split ( '.' )
Original file line number Diff line number Diff line change 1010def key (v ):
1111 if v == 'master' :
1212 return float ('inf' )
13- if v == 'current ' :
13+ if v == 'stable ' :
1414 return sys .maxsize
1515
1616 v = v .replace ('v' , '' ).replace ('rust-' , '' )
You can’t perform that action at this time.
0 commit comments