Skip to content

Commit 905e368

Browse files
author
Himanshu
committed
changes
1 parent 72fa333 commit 905e368

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎populateBookJson.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ var populateBookJson = (branches) => {
2020
const bookJsonContents = require('./book.json');
2121

2222
bookJsonContents.pluginsConfig.versions.options = [{
23-
value: 'http://rawgit.com/GeekyAnts/native-base-v2-docs/master/_book/index.html',
24-
text: 'master',
23+
value: '#',
24+
text: 'Select version',
2525
selected: true
2626
}];
2727

2828
for(let i=0; i<branches.length; i++) {
29-
if(branches[i] !== 'master') {
29+
// if(branches[i].name !== 'master') {
3030
bookJsonContents.pluginsConfig.versions.options.push({
3131
value: 'http://rawgit.com/GeekyAnts/native-base-v2-docs/' + branches[i].name + '/_book/index.html',
3232
text: branches[i].name
3333
});
34-
}
34+
// }
3535
}
3636

3737
fs.writeFileSync(__dirname + '/book.json', JSON.stringify(bookJsonContents, null, 4), {encoding: 'utf8'});

0 commit comments

Comments
 (0)