Skip to content

Commit 1d76b31

Browse files
ShivrajShivraj
authored andcommitted
changes
1 parent 861def9 commit 1d76b31

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎populateBookJson.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const https = require('https');
24
const fs = require('fs');
35
const spawnSync = require('child_process').spawnSync;
@@ -24,8 +26,8 @@ var populateBookJson = (branches) => {
2426
for(let i=0; i<branches.length; i++) {
2527
if(branches[i].name === 'master') {
2628
bookJsonContents.pluginsConfig.versions.options.push({
27-
value: 'http://rawgit.com/GeekyAnts/native-base-docs/latest/_book/index.html',
28-
text: branches[i].name
29+
value: 'http://rawgit.com/GeekyAnts/native-base-docs/master/_book/index.html',
30+
text: 'latest'
2931
});
3032
} else {
3133
bookJsonContents.pluginsConfig.versions.options.push({

0 commit comments

Comments
 (0)