Generate api nav with internal anchors