Skip to content
This repository was archived by the owner on Oct 24, 2021. It is now read-only.

Commit 096ac86

Browse files
committed
Handle isprototype tag, no import, no filepath
1 parent ae5242f commit 096ac86

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

jsdoc/docdata-jsdoc-template/publish.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
if (entry.meta && entry.meta.path) {
4949
var packagesFolder = 'packages/';
5050
var index = entry.meta.path.indexOf(packagesFolder);
51-
if (index != -1) {
51+
if (index != -1 && !entry.isprototype) {
5252
var fullFilePath = entry.meta.path.substr(index + packagesFolder.length) + '/' + entry.meta.filename;
5353
entry.filepath = fullFilePath;
5454
entry.lineno = entry.meta.lineno;

scripts/api-box.js

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ var importName = function(doc) {
156156
const noImportNeeded = !doc.module
157157
|| doc.scope === 'instance'
158158
|| doc.ishelper
159+
|| doc.isprototype
159160
|| doc.istemplate;
160161

161162
// override the above we've explicitly decided to (i.e. Template.foo.X)

0 commit comments

Comments
 (0)