[doc] Documentation fixes in join generic function and method pointed by @cgay