DOC/CI: fix class alias docstrings for sphinx 3.4 + unpin sphinx
Closes #38600

(we can also wait a bit to see what they answer on the sphinx side) looks fine. but agreed looks like sphinx broke this. prob need to backport this @meeseeksdev backport 1.2.x Something went wrong ... Please have  a look at my logs.