Nayananga commented on a change in pull request #163: Pr/algolia search URL: https://github.com/apache/camel-website/pull/163#discussion_r386769281
########## File path: antora-ui-camel/src/partials/footer-scripts.hbs ########## @@ -1,5 +1,6 @@ <script src="{{uiRootPath}}{{asset 'js/site.js'}}"></script> <script async src="{{uiRootPath}}{{asset 'js/vendor/highlight.js'}}"></script> <script async src="{{uiRootPath}}{{asset 'js/vendor/svg4everybody.js'}}"></script> +<script async src="https://cdn.jsdelivr.net/npm/algoliasearch@4/dist/algoliasearch-lite.umd.js"></script> Review comment: @zregvart I tried to solve this by first >yarn add algoliasearch in antora-ui-camel then >added a new algolia_search.js file into vendor folder which has ;(function () { var algoliasearch = require('algoliasearch') return algoliasearch() })() finally >add that script into to footer scrips as you mentioned then I`m having these errors, any thoughts?   ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services