From 925cd8f5d8665389f406465c5e359b2a80a79eb1 Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Sun, 15 Sep 2024 08:57:14 -0700 Subject: [PATCH] feat(local search): change vitepress search utility feature provider from algolia to local search instead due to native comptability support built into vitepress dependencies --- docs/.vitepress/config/theme.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/.vitepress/config/theme.ts b/docs/.vitepress/config/theme.ts index c46fa515..446ff635 100644 --- a/docs/.vitepress/config/theme.ts +++ b/docs/.vitepress/config/theme.ts @@ -14,10 +14,14 @@ export const themeConfig: DefaultTheme.Config = { outlineBadges: false, // whether to show badge on outline lastUpdatedText: 'Last updated', // config for last updated footer text // documentation full text search config via algolia - algolia: { - appId: 'G9IUR45K98', - apiKey: '8528cc91281d8112b28f508317a96dd3', - indexName: 'toshiki-notebook', + // algolia: { + // appId: 'G9IUR45K98', + // apiKey: '8528cc91281d8112b28f508317a96dd3', + // indexName: 'toshiki-notebook', + // }, + // documentation full local index search + search: { + provider: 'local', }, // documentation edit link editLink: {