It isn't necessary to build the link as docURL2() does this. Also we don't need to check for the existence of the ts() function.