Fix old docs api

Build after the last commit to master.  api-docs.covermymeds is no longer a valid URL.

A few minor shell script improvements came along for the ride.