Stops the parsing from crashing when the content contains a ":", e.g. in web-links
Includes converting some of the remaining standalone scripts into Sphinx extensions. Make flake8 clean