Closed meetmangukiya closed 7 years ago
Will it work even without javascript?
No, it most probably uses AJAX for live searching, else it wont work
Live search is definitely good. There is also Mkdocs, used for GitMate documentation, which has a similar feature, but that is a different documentation platform altogether. Agolia docsearch looks like a great idea.
@yukiisbored , does Sphinx search work without javascript? If so, we'd need to verify DocSearch degrades gracefully.
@jayvdb Actually, i just noticed it won't even show up.
What "wont even show up" ?; Sphinx or Agolia DocSearch ?
Sphinx.
Javascript enabled: https://my.mixtape.moe/jvscjw.png Javascript disabled: https://my.mixtape.moe/glzimk.png
Since I can't find any algolia docsearch instance that uses Sphinx. I'm trying it out on Vue.js and the search box came up but I can't search (The Enter button doesn't work, most likely it's handled in JS instead of a HTML Submission form)
@yukiisbored yes, there is no form submission, it checks if the text in the input box is changed and shows the search results in the dropdown as you type.
@meetmangukiya , this is finished?
Yes
Current search is simple keyword search. Algolia docsearch does a pretty good job in searching documentations. It is being used at docs.gitlab.com if you are looking for an example