readthedocs / readthedocs-sphinx-search

Deprecated: Enable search-as-you-type feature for docs hosted by RTD.
https://readthedocs-sphinx-search.readthedocs.io/
MIT License
33 stars 16 forks source link

Re-structure HTML of the results #118

Open stsewd opened 2 years ago

stsewd commented 2 years ago

This would be a more simple structure and use CSS for spacing instead of br elements, and use the html tag a little more "semantically" (don't know if this is a word p: what I mean is for example we are using span tags for titles, and even we have a div inside span tags).

The current structure is https://github.com/readthedocs/readthedocs-sphinx-search/blob/225353f6be04f2fa178ec2350e3c27599b6b2ea1/docs/customization.rst?plain=true#L31-L137

ref https://github.com/readthedocs/readthedocs-sphinx-search/pull/116