Trim off reference syntax from type doc ids.
Merge branch 'pr/n17_tomspilman'