Skip to content

Commit

Permalink
Merge pull request #14398 from ahocevar/changes-for-taffy-migration
Browse files Browse the repository at this point in the history
Use custom query function to replace missing taffydb query features
  • Loading branch information
ahocevar committed Dec 21, 2022
2 parents aa4d60c + a8dc787 commit 513944f
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions config/jsdoc/info/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,20 @@ exports.publish = function (data, opts) {

// get all doclets that have exports
const classes = {};
const docs = data(
[
{define: {isObject: true}},
function () {
if (this.kind == 'class') {
classes[this.longname] = this;
return true;
}
return (
this.meta &&
this.meta.path &&
!this.longname.startsWith('<anonymous>') &&
this.longname !== 'module:ol'
);
},
],
{kind: {'!is': 'file'}},
{kind: {'!is': 'event'}},
{kind: {'!is': 'module'}}
).get();
const docs = data(function () {
if (this.kind == 'class') {
classes[this.longname] = this;
return true;
}
return (
typeof this.define === 'object' &&
!['file', 'event', 'module'].includes(this.kind) &&
this.meta &&
this.meta.path &&
!this.longname.startsWith('<anonymous>') &&
this.longname !== 'module:ol'
);
}).get();

// get symbols data, filter out those that are members of private classes
const symbols = [];
Expand Down

0 comments on commit 513944f

Please sign in to comment.