Skip to content

Commit 290da7c

Browse files
committedSep 30, 2016
added 1.9 version picker for docs
1 parent a2e8c7e commit 290da7c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
 

‎gulpfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ const CONFIG = require('./env.json')[process.env.NODE_ENV] || require('./env.jso
3434
// general build settings
3535
//
3636

37-
const currentVersion = '1.7'
38-
const docsVersions = ['1.7', '1.8']
37+
const currentVersion = '1.8'
38+
const docsVersions = ['1.7', '1.8', '1.9']
3939
const cssTimestamp = new Date().getTime()
4040
const paths = {
4141
build: './build',

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const mlunr = require('metalsmith-lunr')
2727
const CONFIG = require('./env.json')[process.env.NODE_ENV] || require('./env.json')['production']
2828

2929
// --- general build settings --- //
30-
const docsVersions = ['1.7', '1.8'];
30+
const docsVersions = ['1.7', '1.8', '1.9'];
3131
const cssTimestamp = new Date().getTime()
3232

3333
const updatePaths = function(file, filename) {

‎layouts/docs.jade

+2
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ html
119119
a(href="/docs/1.7/") 1.7
120120
|  | 
121121
a(href="/docs/1.8/") 1.8
122+
|  | 
123+
a(href="/docs/1.9/") 1.9
122124
+renderMenu(locals.navs.header)
123125

124126
// Search results

0 commit comments

Comments
 (0)
Please sign in to comment.