We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a6746a commit 88957edCopy full SHA for 88957ed
src/build/mdn-comments.ts
@@ -81,7 +81,7 @@ export async function generateDescriptions(): Promise<{
81
const mdn = JSON.parse(content);
82
const results: Record<string, any> = {};
83
// metadata is an array of objects, each with at least: slug, page-type, summary
84
- for (const entry of mdn.data) {
+ for (const entry of mdn) {
85
const mdnUrl = entry.mdn_url.split("/en-US/docs/")[1];
86
const slugArr = extractSlug(mdnUrl);
87
const path = paths[entry.pageType];
0 commit comments