Use jsdoc@3.4.0

This commit is contained in:
Tim Schaub
2015-11-17 18:04:16 -07:00
parent b435723b8c
commit 34dd7b76b1
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
] ]
}, },
"plugins": [ "plugins": [
"node_modules/jsdoc-fork/plugins/markdown", "node_modules/jsdoc/plugins/markdown",
"config/jsdoc/api/plugins/inheritdoc", "config/jsdoc/api/plugins/inheritdoc",
"config/jsdoc/api/plugins/typedefs", "config/jsdoc/api/plugins/typedefs",
"config/jsdoc/api/plugins/events", "config/jsdoc/api/plugins/events",
+1 -1
View File
@@ -16,7 +16,7 @@ exports.defineTags = function(dictionary) {
doclet.stability = level; doclet.stability = level;
} else { } else {
var errorText = util.format('Invalid stability level (%s) in %s line %s', tag.text, doclet.meta.filename, doclet.meta.lineno); var errorText = util.format('Invalid stability level (%s) in %s line %s', tag.text, doclet.meta.filename, doclet.meta.lineno);
require('jsdoc-fork/lib/jsdoc/util/error').handle( new Error(errorText) ); require('jsdoc/lib/jsdoc/util/error').handle( new Error(errorText) );
} }
} }
}); });
+7 -7
View File
@@ -1,10 +1,10 @@
/*global env: true */ /*global env: true */
var template = require('jsdoc-fork/lib/jsdoc/template'), var template = require('jsdoc/lib/jsdoc/template'),
fs = require('jsdoc-fork/lib/jsdoc/fs'), fs = require('jsdoc/lib/jsdoc/fs'),
path = require('jsdoc-fork/lib/jsdoc/path'), path = require('jsdoc/lib/jsdoc/path'),
taffy = require('taffydb').taffy, taffy = require('taffydb').taffy,
handle = require('jsdoc-fork/lib/jsdoc/util/error').handle, handle = require('jsdoc/lib/jsdoc/util/error').handle,
helper = require('jsdoc-fork/lib/jsdoc/util/templateHelper'), helper = require('jsdoc/lib/jsdoc/util/templateHelper'),
_ = require('underscore'), _ = require('underscore'),
htmlsafe = helper.htmlsafe, htmlsafe = helper.htmlsafe,
linkto = helper.linkto, linkto = helper.linkto,
@@ -350,8 +350,8 @@ exports.publish = function(taffyData, opts, tutorials) {
var staticFileScanner; var staticFileScanner;
if (conf['default'].staticFiles) { if (conf['default'].staticFiles) {
staticFilePaths = conf['default'].staticFiles.paths || []; staticFilePaths = conf['default'].staticFiles.paths || [];
staticFileFilter = new (require('jsdoc-fork/lib/jsdoc/src/filter')).Filter(conf['default'].staticFiles); staticFileFilter = new (require('jsdoc/lib/jsdoc/src/filter')).Filter(conf['default'].staticFiles);
staticFileScanner = new (require('jsdoc-fork/lib/jsdoc/src/scanner')).Scanner(); staticFileScanner = new (require('jsdoc/lib/jsdoc/src/scanner')).Scanner();
staticFilePaths.forEach(function(filePath) { staticFilePaths.forEach(function(filePath) {
var extraStaticFiles = staticFileScanner.scan([filePath], 10, staticFileFilter); var extraStaticFiles = staticFileScanner.scan([filePath], 10, staticFileFilter);
+1 -1
View File
@@ -38,7 +38,7 @@
"glob": "6.0.1", "glob": "6.0.1",
"graceful-fs": "4.1.2", "graceful-fs": "4.1.2",
"handlebars": "4.0.4", "handlebars": "4.0.4",
"jsdoc-fork": "^4.0.0-beta.1", "jsdoc": "3.4.0",
"marked": "0.3.5", "marked": "0.3.5",
"metalsmith": "2.1.0", "metalsmith": "2.1.0",
"metalsmith-layouts": "1.4.2", "metalsmith-layouts": "1.4.2",
+1 -1
View File
@@ -15,7 +15,7 @@ var externsPaths = [
]; ];
var infoPath = path.join(__dirname, '..', 'build', 'info.json'); var infoPath = path.join(__dirname, '..', 'build', 'info.json');
var jsdocResolved = require.resolve('jsdoc-fork/jsdoc.js'); var jsdocResolved = require.resolve('jsdoc/jsdoc.js');
var jsdoc = path.resolve(path.dirname(jsdocResolved), '../.bin/jsdoc'); var jsdoc = path.resolve(path.dirname(jsdocResolved), '../.bin/jsdoc');
// on Windows, use jsdoc.cmd // on Windows, use jsdoc.cmd