[Documentation] #228 added inline comment about TOC suppression

This commit is contained in:
Henry 2015-12-11 09:53:55 -08:00
parent 6200ceddf8
commit 604b29096d

View File

@ -175,6 +175,8 @@ GLOBAL.window = GLOBAL.window || GLOBAL; // nomnoml expects window to be define
.replace(/md$/, "html"),
destPath = path.dirname(destination),
prefix = path.basename(destination).replace(/\.html$/, ""),
//Determine whether TOC should be rendered for this file based
//on regex provided as command line option
renderTOC = file.match(options['suppress-toc'] || "") === null;
mkdirp(destPath, function (err) {