Hide 'Versions' links unless at readthedocs.org, fixes #602.

https://docs.readthedocs.org/en/latest/faq.html#how-do-i-change-behavior-for-read-the-docs