Relevance is the key. Just like a Google algorithm, links should be judged on their direct relevance to the content, regardless of whether or not the endpoint is commercial or not. This is the only policy that places the USER as the priority. Which surely must be the point of having the documentation in the first place?