Added algolia search

This commit is contained in:
Matej Sima 2019-06-13 03:00:27 +02:00
parent df5e88608d
commit 2446d52f3e

View File

@ -101,7 +101,8 @@ const siteConfig = {
{doc: 'tutorials/get-started/tezos-taco-shop-smart-contract', label: 'Tutorials'}, {doc: 'tutorials/get-started/tezos-taco-shop-smart-contract', label: 'Tutorials'},
{ blog: true, label: 'Blog' }, { blog: true, label: 'Blog' },
{doc: 'contributors/origin', label: 'Contribute'}, {doc: 'contributors/origin', label: 'Contribute'},
{href: 'https://discord.gg/9rhYaEt', label: ''} {href: 'https://discord.gg/9rhYaEt', label: ''},
{ search: true },
], ],
// If you have users set above, you add it here: // If you have users set above, you add it here:
@ -162,6 +163,12 @@ const siteConfig = {
// You may provide arbitrary config keys to be used as needed by your // You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL... // template. For example, if you need your repo's URL...
repoUrl: 'https://gitlab.com/ligolang/ligo', repoUrl: 'https://gitlab.com/ligolang/ligo',
algolia: {
apiKey: '12be98d9fd4242a5f16b70a5cc6b0158',
indexName: 'ligolang',
algoliaOptions: {} // Optional, if provided by Algolia
},
}; };
module.exports = siteConfig; module.exports = siteConfig;