Fix API links.

The book has been moved, so we should update the links.

Fixes #4555