added config for sphinx
simplified error message