Use local links (:doc:) rather than URLs, which fixes some broken links. Update external links according to redirects, or find replacements when they are broken.
Integrate proposed changes to :ref:.
Merge pull request #76 from bgeron/flattened

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