code: function generateTutorial(title, tutorial, filename) {
          var tutorialData = {
              title: title,
              header: tutorial.title,
              content: tutorial.parse(),
              children: tutorial.children
          };
  
          var tutorialPath = path.join(outdir, filename);
          var html = view.render('tutorial.tmpl', tutorialData);
  
          // yes, you can use {@link} in tutorials too!
          html = helper.resolveLinks(html); // turn {@link foo} into <a href="foodoc.html">foo</a>
          fs.writeFileSync(tutorialPath, html, 'utf8');
      }
docs: TODO: move the tutorial functions to templateHelper.js