This reverts merge request !13293
This commit removes the custom HTML rediiect extension and uses the sphinx-reredirect extension instead. The sphinx-reredirect extension allows for redirection to external links as well as support for wildcards.
Includes converting some of the remaining standalone scripts into Sphinx extensions. Make flake8 clean