Allow to build documentation offline (rebased onto develop)



This is the same as gh-304 but rebased onto develop.

----

This PR was initiated on a train with no Internet connection. In this case, our use of `urllib.urlopen()` fails to read the broken list from GitHub. 

This commit fixes this bug by embedding the url lib call in a `try, except` block and printing a warning message if no URL is found.