From 3c7041fff2cf39cd014dc8995d6c7dd922072292 Mon Sep 17 00:00:00 2001 From: Haroen Viaene Date: Mon, 17 Dec 2018 16:23:05 +0100 Subject: [PATCH] docs: add search I enabled the Algolia DocSearch crawler on this site, like on other Vue utilities, so that we can search in the bodies of the documentation too! fixes #2439 --- docs/.vuepress/config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 5d378bda7..d4f6c8922 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -34,6 +34,10 @@ module.exports = { serviceWorker: true, theme: 'vue', themeConfig: { + algolia: { + apiKey: 'f854bb46d3de7eeb921a3b9173bd0d4c', + indexName: 'vue-router', + }, repo: 'vuejs/vue-router', docsDir: 'docs', locales: {