Make the documentation more usable with GitHub Pages

- Remove leading slashes (`/') in relative links.
- Add HTML `base' tags where necessary.
- Point asset links to the right location.