-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Remove autocomplete
js from templates
#3779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Doing a simple grep I found other places where this is used. For example, at https://github.com/rtfd/readthedocs.org/blob/8f2d59cdcdee0050feece79465d1a6c5c903ecf5/readthedocs/templates/search/elastic_project_search.html So, we will probably do more grep here to find other places also and decide if they should stay or should be removed. Grepping by |
@humitos I found 3 files (one is a comment, probably removing it would be a clean up 😄) And also there is this function https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/projects/views/public.py#L199 is really used this feature on the site? Or is abandoned? ps: I update the description with the new files |
@rajujha373 let's wait to @humitos confirm us what is to be done with some files. |
Sure @stsewd :) |
I never touched the autosearch code, so to answer your question I would need to do probably exactly the same that you would need to do:
Summarizing, "I have no idea" but left some steps that you can follow to research and answer that question by yourself :) I would love to see a PR comming in with this ;) Hope it helps. |
#3779: Remove autocomplete js from templates
This was solved in #3805 |
Uh oh!
There was an error while loading. Please reload this page.
On 16f3527 the
autocomplete
js was removed (was not working), there are others templates with this js that should be removed too.This https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/core/static-src/core/js/autocomplete.js should be removed too?
Also this should be removed? https://github.com/rtfd/readthedocs.org/blob/master/media/css/autocomplete.css
Files founded:
The text was updated successfully, but these errors were encountered: