formatting api docs, closes #88