Skip to content

Commit

Permalink
Merge pull request #88 from highcharts/bugfix/tree-meta-fullname
Browse files Browse the repository at this point in the history
Fixed meta naming for free floating doclets.
  • Loading branch information
bre1470 authored Jul 24, 2024
2 parents dce8461 + be837c1 commit f17cd4e
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 922 deletions.
4 changes: 3 additions & 1 deletion jsdoc/plugins/highcharts.jsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,11 @@ function augmentOption(path, obj) {

// Free floating doclets marked with @apioption
if (!current[thing].meta.filename) {
current[thing].meta.filename = obj.meta.path + '/' + obj.meta.filename;
current[thing].meta.fullname = path;
current[thing].meta.name = thing;
current[thing].meta.line = obj.meta.lineno;
current[thing].meta.lineEnd = obj.meta.lineno + obj.comment.split(/\n/g).length - 1;
current[thing].meta.filename = obj.meta.path + '/' + obj.meta.filename;
}

Object.keys(obj).forEach(function (property) {
Expand Down
Loading

0 comments on commit f17cd4e

Please sign in to comment.