Black: Documentation search not working as expected (is slow and sometimes produces 502)

Created on 10 Sep 2020  路  3Comments  路  Source: psf/black

Describe the bug
Trying to use search in the documentation: https://black.readthedocs.io/en/stable/search.html?q=comma takes a long time and _sometimes_ results in timeouts:
image

To Reproduce Steps to reproduce the behavior:
Go to https://black.readthedocs.io/en/stable/search.html?q=comma and try to use the search for several times.

Expected behavior: it wouldn't timeout and wouldn't take more than <5 sec

I really like the docs though! (but I was searching for the magic trailing comma and can't find it anywhere - I swear I saw it in the readme in the past, but it's not there anymore or in the docs (well, maybe is, but I can't find it)!)

bug

All 3 comments

Here's the part you're looking for: https://black.readthedocs.io/en/stable/the_black_code_style.html?#the-magic-trailing-comma (it was the third result for me).

Thanks, not sure what was wrong. If it was just a temporary deployment issue, feel free to close this one.

Thanks for the report. Worked for me too. Must have been a temporary issue with read the docs.

Was this page helpful?
0 / 5 - 0 ratings