Add the use-mirrors option to the pip installation.
Add logic to build the docs.