spyder-ide / spyder-docs

Documentation for Spyder, the Scientific Python Development Environment
https://docs.spyder-ide.org
MIT License
33 stars 282 forks source link

FAQs and other dropdowns not uncollapsed when they contain highlighted search terms #250

Closed juanis2112 closed 2 years ago

juanis2112 commented 3 years ago

Issue Report

Issue Description

We need to add code for the search button to search for text inside the FAQ answers. As the answers are collapsed by default the page doesn't show results In the answers.

Where is the relevant portion of the documentation located?

What would you suggest it be replaced with?

Other information

CAM-Gerlach commented 2 years ago

While search finds text inside FAQ answers just fine, the issue that it appears the above is referring to is that question(s) that contain highlighted/matched text are not uncollapsed. I can solve that in a PR with some custom JavaScript.