tutorial.What's your browser? Have you tried another browser? Could you look at the network tab in developer tools to see if any requests are failing? Have you looked at other issues that report this?
What's your browser? Have you tried another browser? Could you look at the network tab in developer tools to see if any requests are failing? Have you looked at other issues that report this?
P/s: You should test it on your side. If the search function is working, I will check more.
It's a common problem. Clean the cache (shift + F5) or use incognito browser.
PS.: This is not the explanation why, this is a way to solve it.
It's a common problem. Clean the cache (shift + F5) and/or use incognito browser.
PS.: This is not the explanation why, this is a way to solve it.
I 've tried to use incognito mode and it does not solve the problem.
I 've tested on Firefox and it worked but not for Chrome-based browser. So I guess that some wrong config/syntax,.. make the generated doc does not compatible with Chrome-based browsers
Test result:
For me it works in Brave (Chromium based) and Safari.
Does not work for me in Brave PC and Android (none of the solutions above help), search in starlette docs which use the same base works perfectly.
I have this problem sometimes but not always using Firefox.
Deleting Cache did not help.
Deleting cookies and website-data did the trick!
Correct me if I'm wrong: but wouldn't using a incognito browser also work when it's local storage (website-data) related?
for me it worked to turn off schields in brave browser
Same issue here: interestingly, the documentation root always seems to work (at least after a refresh without cache) but other pages mostly not. Refresh without cache sometimes makes it work on other pages, but often not.
I use Firefox and Chorme on macOS it has same issue.
I think something wrong with https://fastapi.tiangolo.com/search/search_index.json
I type https://fastapi.tiangolo.com/search/search_index.json in location bar and load it again and back to main website it can search again
I also had some issues at some point, I think it was related to an older version of Material for MkDocs. But I haven't seen problems in the recent versions, more now that it uses Material for MkDocs Insiders.
If you are still having issues, let me know.
I also had some issues at some point, I think it was related to an older version of Material for MkDocs. But I haven't seen problems in the recent versions, more now that it uses Material for MkDocs Insiders.
If you are still having issues, let me know.
Now, it works.
Most helpful comment
I 've tried to use incognito mode and it does not solve the problem.
I 've tested on Firefox and it worked but not for Chrome-based browser. So I guess that some wrong config/syntax,.. make the generated doc does not compatible with Chrome-based browsers
Test result: