Open obrienrobert opened 3 years ago
thanks @obrienrobert that's a great suggestion. The Linkerd docs use hugo to generate a static site, so are you familiar with any plugins or projects that can be added in a PR?
@cpretzer unfortunately, I do not, as it's an area I am not familiar with. A quick Google lead me to https://lunrjs.com/. I'm sure there are more, but this seems like a popular method of implementing a search feature within a static Hugo site.
@cpretzer The official Hugo website mentions some search options. Also, buildpacks docs are built with Hugo as well and feature a dynamic search bar, but I couldn't determine if any of the search options is being used. As far as I can tell, it utilizes a custom function with some scripts imported in the default layout.
Found the library used in buildpacks docs for dynamic search, but it requires the website owners to sign up: https://docsearch.algolia.com/
Should I try to add the search feature with one of the options mentioned in the official Hugo docs?
The documentation section of the website contains drop-down menus with links to various sections. It would be nice if there was a way of searching through the documentation without having to click on the drop-downs and manually looking for a specific section. Maybe a search bar that dynamically filters the results as the user enters text?