From f051a87ea0f640e5b68cfcca3b636b67036182b2 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Wed, 14 Apr 2021 02:22:11 +0900 Subject: [PATCH 1/2] Vue I18n: update docsearch config --- configs/vue-i18n.json | 99 +++++++++++++++++++++++++++++++------------ 1 file changed, 73 insertions(+), 26 deletions(-) diff --git a/configs/vue-i18n.json b/configs/vue-i18n.json index a514d517f..71d8014de 100644 --- a/configs/vue-i18n.json +++ b/configs/vue-i18n.json @@ -1,39 +1,86 @@ { "index_name": "vue-i18n", "start_urls": [ - "https://vue-i18n-next.intlify.dev/" + { + "url": "https://vue-i18n.intlify.dev/guide/", + "selectors_key": "guide", + "page_rank": 10, + "tags": [ + "guide" + ] + }, + { + "url": "https://vue-i18n.intlify.dev/api/", + "selectors_key": "api", + "page_rank": 8, + "tags": [ + "api" + ] + }, + { + "url": "https://vue-i18n.intlify.dev/ja/guide/", + "selectors_key": "guide", + "page_rank": 10, + "tags": [ + "guide" + ] + }, + { + "url": "https://vue-i18n.intlify.dev/ja/api/", + "selectors_key": "api", + "page_rank": 8, + "tags": [ + "api" + ] + } + ], + "stop_urls": [ + "(?:(? Date: Wed, 14 Apr 2021 14:11:02 +0200 Subject: [PATCH 2/2] update stop_urls --- configs/vue-i18n.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/configs/vue-i18n.json b/configs/vue-i18n.json index 71d8014de..eb68a9d93 100644 --- a/configs/vue-i18n.json +++ b/configs/vue-i18n.json @@ -2,7 +2,7 @@ "index_name": "vue-i18n", "start_urls": [ { - "url": "https://vue-i18n.intlify.dev/guide/", + "url": "https://vue-i18n.intlify.dev/ja/guide/", "selectors_key": "guide", "page_rank": 10, "tags": [ @@ -10,7 +10,7 @@ ] }, { - "url": "https://vue-i18n.intlify.dev/api/", + "url": "https://vue-i18n.intlify.dev/ja/api/", "selectors_key": "api", "page_rank": 8, "tags": [ @@ -18,7 +18,7 @@ ] }, { - "url": "https://vue-i18n.intlify.dev/ja/guide/", + "url": "https://vue-i18n.intlify.dev/guide/", "selectors_key": "guide", "page_rank": 10, "tags": [ @@ -26,7 +26,7 @@ ] }, { - "url": "https://vue-i18n.intlify.dev/ja/api/", + "url": "https://vue-i18n.intlify.dev/api/", "selectors_key": "api", "page_rank": 8, "tags": [ @@ -35,8 +35,7 @@ } ], "stop_urls": [ - "(?:(?