Fixed rtd links

tldr; (s/http/https)

Updated readthedoc api javascript references to point to the secure domain api and documentation page since those don't run because of a security warning.