Skip to content

Commit 2bf8f07

Browse files
authored
chore: add blog exclude explain comment (#8661)
1 parent 7a8d5bd commit 2bf8f07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/site/scripts/orama-search/get-documents.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ export const getArticles = async () => {
6060
// Read content + metadata
6161
return Promise.all(
6262
files
63+
// Exclude blog posts: they tend to surface in feature searches and
64+
// direct users to a release announcement rather than the actual docs.
6365
.filter(path => !path.startsWith('blog'))
6466
.map(async path => ({
6567
content: await readFile(join(root, path), 'utf8'),

0 commit comments

Comments
 (0)