workbenchdev / Biblioteca

Documentation viewer for GNOME
GNU General Public License v3.0
54 stars 7 forks source link

Provide a Search Provider #94

Open naipotato opened 8 months ago

naipotato commented 8 months ago

I'm really not sure if it's really possible. If not, I guess I will see this issue closed.

I think a search provider would be really useful for this app, so that you can type something like GtkButton and you can open the app directly in the class documentation.

It would save having to keep the app open all the time to search for specific documentation.

AkshayWarrier commented 8 months ago

We did briefly discuss about having a search provider for the app, I haven't looked much into it but I agree it would be very useful.

sonnyp commented 8 months ago

Shouldn't be too hard

AkshayWarrier commented 8 months ago

Yep I had a look at these and did briefly start some work for it :)

bilelmoussaoui commented 6 months ago

Shouldn't be too hard

* https://developer.gnome.org/documentation/tutorials/search-provider.html

* https://gitlab.gnome.org/Archive/gnome-documents/-/blob/master/src/shellSearchProvider.js

there is also https://gitlab.gnome.org/GNOME/gnome-characters/-/blob/main/src/searchProvider.js?ref_type=heads which should be more modern than the gnome-documents implementation