tui-jsdoc-template
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "tui-jsdoc-template", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Toast UI JSDoc Template", | ||
@@ -5,0 +5,0 @@ "main": "publish.js", |
@@ -721,3 +721,3 @@ 'use strict'; | ||
// TODO: move the tutorial functions to templateHelper.js | ||
function generateTutorial(title, tutorial, filename) { | ||
function generateTutorial(title, tutorial, filename, originalFileName) { | ||
var $ = cheerio.load(tutorial.parse(), { | ||
@@ -737,2 +737,3 @@ decodeEntities: false, | ||
filename: filename, | ||
originalFileName: originalFileName, | ||
package: find({kind: 'package'})[0] | ||
@@ -753,3 +754,4 @@ }; | ||
node.children.forEach(function(child) { | ||
generateTutorial('Tutorial: ' + child.title, child, helper.tutorialToUrl(child.name)); | ||
var originalFileName = child.name; | ||
generateTutorial('Tutorial: ' + child.title, child, helper.tutorialToUrl(child.name), originalFileName); | ||
saveChildren(child); | ||
@@ -756,0 +758,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52
2776
600754