Ensured API source links point to right place

Fixes #1731