Skip to content

Commit 41a2f21

Browse files
authored
remove docs from mcp search results (#14)
<!-- If this pull request closes an issue, please mention the issue number below --> Closes # <!-- Issue # here --> ## 💸 TL;DR <!-- What's the three sentence summary of purpose of the PR --> Remove blocks from devvit search results so that search like "redis" doesn't tell you to import from `@devvit/public-api` ## 📜 Details [Design Doc](<!-- insert Google Doc link here if applicable -->) [Jira](<!-- insert Jira link if applicable -->) <!-- Add additional details required for the PR: breaking changes, screenshots, external dependency changes --> ## 🧪 Testing Steps / Validation <!-- add details on how this PR has been tested, include reproductions and screenshots where applicable --> ## ✅ Checks <!-- Make sure your pr passes the CI checks and do check the following fields as needed - --> - [ ] CI tests (if present) are passing - [ ] Adheres to code style for repo - [ ] Contributor License Agreement (CLA) completed if not a Reddit employee
1 parent e48298f commit 41a2f21

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/scripts/generateChunks.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ const config: Config = {
7171
excludePatterns: [
7272
'**/node_modules/**',
7373
'**/.git/**',
74+
'**/docs/blocks/**',
75+
'**/docs/capabilities/blocks/**',
76+
'**/docs/api/**',
77+
'**/versioned_docs/version-0.12/blocks/**',
78+
'**/versioned_docs/version-0.12/capabilities/blocks/**',
79+
'**/versioned_docs/version-0.12/api/**',
7480
// I've found that these muddy up the search results
7581
'**/README.md',
7682
// May contain out of date information

0 commit comments

Comments
 (0)