Problem is docs are often out of date. Either old, or too new if you have to use an older version. So you can spend hours chasing your tail because what the docs and examples say works, doesn't.
I do agree to start there, but reading the raw code if available is often times the best, and AI can do that much faster if its source available. And ofc it can be wrong in how it "thinks" it should work but so can humans when skimming quickly.