Fixed documentation errors

I fixed the documentation errors in order to get them to build I made
a cursory check through the source to ensure that they were correct
and it seems like they are so I submit this patch.
Ignore the build documentation files.