doc: fixed triangle example documentation.