Second try at using a configurable URL for the docs.

This got a little mixed up in a merge mess before.   Here's a second try at it.

This should also fix #30.