This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Originale here: | |
https://gist.github.com/sebz/efddfc8fdcb6b480f567 | |
*/ | |
// var toml = require("toml"); | |
var yaml = require("yamljs"); | |
var S = require("string"); | |
var CONTENT_PATH_PREFIX = "website/content"; | |
var OUTPUT_FILE = "website/static/assets/js/lunr/PagesIndex.json"; |