Making cross-links in documentation use relative paths.

Fixes #393.