Skip to content

Commit 0e41a4d

Browse files
committed
docs: Temporarily disable algolia search due to #1330
Algolia search has a bit of latency to refresh the search result, and now it will lead the user to the wrong address.
1 parent 974963e commit 0e41a4d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/docs/docs/.vuepress/config.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
const path = require('path')
21
const container = require('markdown-it-container')
32

43
module.exports = ctx => ({
@@ -32,10 +31,10 @@ module.exports = ctx => ({
3231
editLinks: true,
3332
docsDir: 'packages/docs/docs',
3433
// #697 Provided by the official algolia team.
35-
algolia: ctx.isProd ? ({
36-
apiKey: '3a539aab83105f01761a137c61004d85',
37-
indexName: 'vuepress'
38-
}) : null,
34+
// algolia: ctx.isProd ? ({
35+
// apiKey: '3a539aab83105f01761a137c61004d85',
36+
// indexName: 'vuepress'
37+
// }) : null,
3938
locales: {
4039
'/': {
4140
label: 'English',

0 commit comments

Comments
 (0)