Add anchors to API headers

Add anchors to api guide headers as mentioned in #856