It's not true though, is it? You don't need to have trained in the dojo of Plato and Chomsky to document APIs. And arguably, it might be counterproductive.
I say this as someone who did one of the top undergrad social sciences degrees in the world, it's not irrelevant, it will probably make you better at working with LLMs, it is a blind spot for many devs, but it's at most 15-20%, and if you make your technical docs more about that than about the software, you will write bad docs.
That being said, it's probably no accident that the likes of Stripe and Anthropic employ a higher than average number of humanities grads.