clean doc artifacts

This commit is contained in:
Leo 2017-02-03 23:06:22 -05:00
parent a89e8cd405
commit e3b0861b8a

View file

@ -25,7 +25,7 @@ function generate(pathname) {
generate(pathname + "/" + filename) generate(pathname + "/" + filename)
}) })
} }
else if (!pathname.match(/tutorials|archive/)) { else if (!pathname.match(/tutorials|archive|guides|methods/)) {
if (pathname.match(/\.md$/)) { if (pathname.match(/\.md$/)) {
var outputFilename = pathname.replace(/\.md$/, ".html") var outputFilename = pathname.replace(/\.md$/, ".html")
var markdown = fs.readFileSync(pathname, "utf-8") var markdown = fs.readFileSync(pathname, "utf-8")