Use local links (:doc:, :ref:) rather than URLs, which fixes some broken links....

... Update external links according to redirects, or find replacements when they are broken.
    :doc:`MathJax Startup Sequence <startup-sequence>`