File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -167,10 +167,6 @@ export default defineConfig({
167167 icon ( ) ,
168168 sitemap ( {
169169 filter ( page ) {
170- if ( page . includes ( "/style-guide/" ) ) {
171- return false ;
172- }
173-
174170 if ( page . endsWith ( "/404/" ) ) {
175171 return false ;
176172 }
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ import type { DocSearchClientOptions } from "@astrojs/starlight-docsearch";
44export default {
55 appId : "D32WIYFTUF" ,
66 apiKey : "5cec275adc19dd3bc17617f7d9cf312a" ,
7- indexName : "prod_devdocs" ,
7+ indexName : window . location . pathname . startsWith ( "/style-guide/" )
8+ ? "prod_devdocs_styleguide"
9+ : "prod_devdocs" ,
810 insights : true ,
911 // Replace URL with the current origin so search
1012 // can be used in local development and previews.
You can’t perform that action at this time.
0 commit comments