take into account doc link text
handle doc links in Rename Package