civo / docs

Civo Public Documentation
10 stars 14 forks source link

Add a search functionnality #85

Open fharper opened 7 months ago

fharper commented 7 months ago

No matter how good a documentation architecture is, it doesn't beat having a search bar, hence my suggestion :)

Since you are using Docusaurus, you can easily do that with TypeSense, which is free and open source (they also have a paid offer which can make your life easier for the indexes, and updating the data). You can see what we've done for ours.

Happy to discuss how we set up the TypeSense server, or anything else.

kaihoffman commented 6 months ago

We actually tried briefly with https://v1.docusaurus.io/docs/en/search but struggled – I suppose you went with TypeSense for a reason, and I wonder if that reason was the same as ours? :)

fharper commented 6 months ago

Happy to help!

We went with TypeSense since it's open source, and we love to host our own stuff, dogfooding our own stack at the same time :)

ratnesh-maurya commented 3 months ago

We actually tried briefly with https://v1.docusaurus.io/docs/en/search but struggled – I suppose you went with TypeSense for a reason, and I wonder if that reason was the same as ours? :)

hello @kaihoffman i have implemented Algolia and its working raised a PR for the same kindly review that