Skip to content

Commit 4831c37

Browse files
Remove versioned v2 pages from search results (#1117)
1 parent 1480c3b commit 4831c37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/lit-dev-tools-cjs/src/search/indexers/index-docs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export const indexDocs = async (outputDir: string, idOffset = 0) => {
2222
['docs', 'internal'],
2323
// Would pollute results and would require more ui hints for v1 stuff
2424
['docs', 'v1'],
25+
// Removed versioned v2 documentation - which currently duplicates all results
26+
['docs', 'v2'],
2527
// handled by the api indexer
2628
['docs', 'api'],
2729
];

0 commit comments

Comments
 (0)