Fix warning with building the documentation

We have no static files, so shouldn't set html_static_path.
Also test that the docs build and that flake8 is happy