5 ms·
Thank you for your post, I like the theme and the idea of static generator creating the documentation. How could anyone include search in these static sites? I
by melenaos 7y ago
Thank you for your post, I like the theme and the idea of static generator creating the documentation.
How could anyone include search in these static sites? Is there any theme that could provide such functionality?
- biggestlou 7y agoI plan to offer several options for search (as covered in the blog post). Some existing themes provide search. YMMV.
- chabad360 7y agoit's usually done through algolia, but that is a proprietary service, and adds loads of js.
- techntoke 7y agoFuse.js works great and is client-side. Hugo can generate the necessary JSON outputs and there is documentation on how to set it up on their website. Please let me know if you come across anything better.
- biggestlou 7y agoNice! I hadn't seen Fuse but it looks like a great option. I've used lunr.js on other projects and liked it but always open to explore new things.