Ensured API source links point to right place

Fixes #1731
Merge pull request #1731 from jroper/1731-api-source-links

Source links in API docs broken