diff --git a/config.toml b/config.toml index facc27b5..7217e34f 100644 --- a/config.toml +++ b/config.toml @@ -118,10 +118,15 @@ github_repo = "https://github.com/OpenFunction/website" github_branch= "main" # Google Custom Search Engine ID. Remove or comment out to disable search. -gcs_engine_id = "d72aa9b2712488cc3" +# gcs_engine_id = "d72aa9b2712488cc3" # Enable Algolia DocSearch -algolia_docsearch = false +algolia_docsearch = true + +[params.algolia] + appId = "OVLKCBSXIH" + indexName = "netlify_ecf7df22-21fe-4e32-8cae-fc62fb20dff5_main_all" + searchOnlyKey = "0971065d2e301eae3538120301829e32" # Enable Lunr.js offline search offlineSearch = false diff --git a/themes/docsy/netlify.toml b/themes/docsy/netlify.toml index f75501a7..92613f3c 100644 --- a/themes/docsy/netlify.toml +++ b/themes/docsy/netlify.toml @@ -11,3 +11,8 @@ HUGO_VERSION = "0.76.5" HUGO_THEME = "repo" HUGO_ENV = "production" + +[[plugins]] +package = "@algolia/netlify-plugin-crawler" + [plugins.inputs] + branches = ["main"] \ No newline at end of file