This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git
The following commit(s) were added to refs/heads/master by this push: new ba38992 fix(docsearch): update docsearch config ba38992 is described below commit ba38992f9bab6a8c67ec2d00509905c25dcde388 Author: plainheart <y...@all-my-life.cn> AuthorDate: Sat Dec 9 21:42:14 2023 +0800 fix(docsearch): update docsearch config --- components/partials/Sidebar.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/components/partials/Sidebar.vue b/components/partials/Sidebar.vue index 1bf6e83..ec259a1 100644 --- a/components/partials/Sidebar.vue +++ b/components/partials/Sidebar.vue @@ -2,7 +2,7 @@ <div :class="`bd-sidebar col-sm-3 col-md-2 ${sidebarOpen ? '' : 'closed'}`"> <div class="sidebar-search"> <input - id="handbook-search-intput" + id="handbook-search-input" type="search" :placeholder="$t('searchHandbook')" /> @@ -112,14 +112,16 @@ export default Vue.extend({ }) // @ts-ignore docsearch({ - apiKey: '6ade5f1ff34e94690f9ea38cddcc2f55', + appId: atob('MTRTWVJJRkVUTw'), + apiKey: atob('MDY2ZGZiZDg3MTVlN2E0NGNjNjA4N2UyOTE0Njk1ZDE'), indexName: 'apache_echarts', - inputSelector: '#handbook-search-intput', + inputSelector: '#handbook-search-input', algoliaOptions: { // @ts-ignore facetFilters: [`lang:${this.$i18n.locale}`] }, - debug: false // Set debug to true if you want to inspect the dropdown + // Set debug to true if you want to inspect the dropdown + // debug: true }) } }) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org