DOC: small fixes categorical docs

This fixes some doc build errors introduced by the categorical docs.

There were also some other failures, but I will open an issue for those (don't directly see the solution for them).