[minor] API: use full URL in href document location