Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit e4c88bf

Browse files
Foxandxsswesleycho
authored andcommitted
chore: fix version mapping
Closes #5382
1 parent e645ab7 commit e4c88bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: Gruntfile.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
var marked = require('marked');
22
var fs = require('fs');
3+
var _ = require('lodash');
34

45
module.exports = function(grunt) {
56
require('load-grunt-tasks')(grunt);
@@ -399,6 +400,7 @@ module.exports = function(grunt) {
399400
url: `/bootstrap/versioned-docs/${version}`
400401
};
401402
});
403+
jsContent = _.sortBy(jsContent, 'version').reverse();
402404
jsContent.unshift({
403405
version: 'Current',
404406
url: '/bootstrap'

0 commit comments

Comments
 (0)