Add Algolia to docs (#7329)

This commit is contained in:
Ben McCann 2020-05-12 13:43:00 -07:00 committed by GitHub
parent 29553130de
commit a94e1e175c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.