docs(): add paid tag

This commit is contained in:
Ibby Hadeed
2017-07-07 05:49:45 -04:00
parent 5b914d7f15
commit 73d0d57bbc
6 changed files with 27 additions and 11 deletions
+12
View File
@@ -24,6 +24,18 @@ module.exports = function jekyll(renderDocsProcessor) {
.replace('content/', '');
});
const betaDocs = [];
docs = docs.filter(doc => {
if (doc.beta === true) {
betaDocs.push(doc);
return false;
}
return true;
});
docs = docs.concat(betaDocs);
// add side menu
docs.push({
docType: 'nativeMenu',