From 623e564f07ab2359a7b63ee49ccf72296f13a267 Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Wed, 28 Oct 2015 15:46:04 +0100 Subject: [PATCH] chore: add the current version of the docs Closes #4759 --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 147adb47ab..12f4be355b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -408,10 +408,10 @@ module.exports = function(grunt) { url: '/bootstrap/versioned-docs/' + version }; }); - jsContent[0] = { + jsContent.unshift({ version: 'Current', url: '/bootstrap' - }; + }); grunt.file.write(versionsMappingFile, JSON.stringify(jsContent)); grunt.log.writeln('File ' + versionsMappingFile.cyan + ' created.'); done();