Add API documentation pre-commit hook.

Thanks for the review. I do plan to take a look at your other feedback, and will let you know when I think I've addressed it.