Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSearch does not find "docsVersionDropdown" #3293
Comments
|
Hi, Search is not broken, it does not look up inside code blocks, and this string only appears in a codeblock. So it's more a docs issue: we should add every options available in code blocks documented outside of code blocks, so that search can find it. Do you want to improve the doc of these items? See also Algolia says searching in code blocks is likely to degrade the search experience, so I guess we should follow his recommendations. @s-pace as you can see this problem is quite common :) if Algolia could search in Docusaurus 2 code blocks that would likely be very helpful. Not sure you can do about it right now, just wanted to let you know about this new issue ;) |
|
Actually, yes, search was broken. I could not search at all last night. Today I can search again. It wasn't even popping up saying "no results found", literally nothing happened just like I said. Maybe Algolia was down & there is insufficient feedback to the end user if it is down? |
|
Ah, I see the problem. If you paste a search term that simply has 0 results, you get no feedback. If you type the term in character by character, you at least have a chance to see some results & then see them go away. Ideally there should be a popup that says "no results found for 'docsVersionDropdown'", right now it just acts like the search is broken. |
|
Same as @slorber I couldn't reproduce this issue. I can confirm you that the search was up last night. |
|
video showing the reproduction. @s-pace problem wasn't search being down, as I clarified in follow-up comment. Its confusing UX. See the video :) |
|
@joshribakoff this is docusaurus v1, v1 does not even have docsVersionDropdown feature But still, there's the docs / search problem that search can't find it either on v2 due to appearing in a code block |
|
Yes the issue is only on docusaurus v1. There is no "no result" dropdown. |

Pasted "docsVersionDropdown" into search box at top right of the docs page & hit enter, nothing happens. Search seems broken?
Have you read the Contributing Guidelines on issues?
yes