This also removes the dependency on setuptools-scm while building the docs. Fixes #1104.
* migrate to new rtd config format and pip * no type field anymore * use builtin re for docs