Documentation Fix (Minor bugs)

My first contribution to Astropy . Fixed some minor bugs for issue #1221 Fix non-functional API links.