Fix doc-comments link to use the major version number only

This was broken in commit 8e458731cba7658bec1957455dc6db753e4bd711 when
an actual reference between documents and versions was created.