Show nicer error message before building docs

See #108