DOC: make doc build run with string dtype enabled
~First commit is from https://github.com/pandas-dev/pandas/pull/61722 (will be removed here after that PR is merged and this one is rebased)~, then subsequent commits enable errors on the doc build again and fix issues.
Going to merge this already to make sure the dev docs are back up. But happy to follow-up with any comment.