Skip to content

Commit

Permalink
possible fix for missing jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
HifiExperiments committed Nov 8, 2024
1 parent ac20b34 commit 85157bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/jsdoc/plugins/hifi.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ exports.handlers = {
];

// only files with this extension will be searched for jsdoc comments.
var exts = ['.h', '.cpp'];
var exts = ['.h', '.h.in', '.cpp', '.cpp.in'];

var fs = require('fs');
dirList.forEach(function (dir) {
Expand Down Expand Up @@ -123,9 +123,9 @@ exports.handlers = {
// Append an Available In: sentence at the beginning of the namespace description.
if (rows.length > 0) {
var availableIn = "<p class='availableIn'><b>Supported Script Types:</b> " + rows.join(" &bull; ") + "</p>";

e.doclet.description = availableIn + (e.doclet.description ? e.doclet.description : "");
}
}
}

if (e.doclet.kind === "function" && e.doclet.returns && e.doclet.returns[0].type
Expand Down

0 comments on commit 85157bf

Please sign in to comment.