[1.7.x] Fixed broken links in docs.

Backport of 0efd72dc90 from master