Skip to content

Commit

Permalink
fix: broken search
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitskvmdam committed Feb 8, 2023
1 parent 3cf0354 commit 3c2270f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,12 +452,10 @@ function buildSidebarMembers({
function buildSearchListForData() {
data().each((item) => {
if (item.kind !== 'package' && !item.inherited) {
const description = (item.description || '').substr(0, 100)

searchList.push({
title: item.longname,
link: linkto(item.longname, item.name),
description
description: item.description
})
}
});
Expand Down

0 comments on commit 3c2270f

Please sign in to comment.