Skip to content

Commit

Permalink
Merge pull request #312 from razorpay/docs-website
Browse files Browse the repository at this point in the history
fix(search): remove combining root frontmatter
  • Loading branch information
1995navinkumar authored Apr 17, 2023
2 parents 6612480 + 46af6e3 commit 56dc31b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ async function getFormattedDoc({ allDocs, getPath, filePathsDontExist }) {
await getDoc('/index');
doc.index = '/index';
}
if (doc.index !== key) {
const indexDoc = allDocs[doc.index];
doc.frontMatter = { ...indexDoc.frontMatter, ...normalizedAttributes };
}
return doc;
};
}
Expand Down

0 comments on commit 56dc31b

Please sign in to comment.