Fix sphinx warnings

When I was fixing the double dashes, I created some warnings.

I've also included a fix to Travis so that warnings become errors.