@@ -6,6 +6,7 @@ import netlify from '@astrojs/netlify';
66
77import tailwindcss from '@tailwindcss/vite' ;
88import starlightFullViewMode from "starlight-fullview-mode" ;
9+ import starlightDocSearch from '@astrojs/starlight-docsearch' ;
910
1011export default defineConfig ( {
1112 site : 'https://exhibits.judaicadhpenn.org' ,
@@ -17,34 +18,26 @@ export default defineConfig({
1718
1819 ] ,
1920 plugins : [
20- starlightImageZoom ( { showCaptions : true } ) ,
21+ starlightImageZoom ( { showCaptions : true } ) ,
2122 starlightFullViewMode ( { } ) ,
23+ starlightDocSearch ( {
24+ appId : '5JABJKRLAV' ,
25+ apiKey : 'b8ddb53a3b807b350826f3ad0d1d67ee' ,
26+ indexName : 'Judaica DH Penn Website' ,
27+ } ) ,
2228 ] ,
2329 title : 'Judaica Exhibitions' ,
2430 description : 'Online exhibitions from Judaica at Penn Libraries' ,
25- tableOfContents : { minHeadingLevel : 2 , maxHeadingLevel : 6 } ,
31+ tableOfContents : { minHeadingLevel : 2 , maxHeadingLevel : 6 } ,
2632 lastUpdated : true ,
27- logo : { src : './src/assets/pomegranate.svg' } ,
28-
29-
30- // ✅ FIX: pagefind must be an object, not an array
31- pagefind : {
32- // optional global tuning
33- ranking : { pageLength : 0.7 , termFrequency : 1.0 , termSaturation : 0.9 , termSimilarity : 1.0 } ,
34-
35- // pull the main site index into this site’s search
36- mergeIndex : [
37- {
38- bundlePath : 'https://judaicadhpenn.org/pagefind/' ,
39- baseUrl : 'https://judaicadhpenn.org' ,
40- indexWeight : 1.0 ,
41- mergeFilter : { site : 'Main' } ,
42- language : 'en' ,
43- } ,
44- ] ,
45- } ,
33+ logo : { src : './src/assets/pomegranate.svg' } ,
34+
4635 } ) ,
4736
37+
38+
39+
40+
4841 ] ,
4942
5043 adapter : netlify ( ) ,
0 commit comments