From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 12 May 2020 20:43:00 +0000 (-0700) Subject: Add Algolia to docs (#7329) X-Git-Tag: v3.0.0-beta.2~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a94e1e175c5d5551a89c60835e3a91f569dc10b7;p=thirdparty%2FChart.js.git Add Algolia to docs (#7329) --- diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index e5efeaf7c..4831d4e17 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -10,6 +10,13 @@ module.exports = { plugins: ['@docusaurus/plugin-google-analytics'], scripts: ['https://www.chartjs.org/dist/VERSION/Chart.min.js'], themeConfig: { + algolia: { + apiKey: 'd7ee00a3cbaaf3c33e28ad1c274e7ba6', + indexName: 'chartjs', + algoliaOptions: { + facetFilters: [`version:VERSION`], + } + }, googleAnalytics: { trackingID: 'UA-28909194-3', // Optional fields.