Skip to content

Commit dcac96e

Browse files
committed
only add popularity field on sdk docs
1 parent 67ba663 commit dcac96e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/algolia.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ async function getRecords(pageFm: FrontMatter) {
189189
sdk,
190190
framework,
191191
// @ts-ignore
192-
popularity: getPopularity(sdk, framework),
192+
...(!isDeveloperDocs && {popularity: getPopularity(sdk, framework)}),
193193
},
194194
'#main'
195195
);

0 commit comments

Comments
 (0)