Fix sphinxcontrib-googleanalytics on Sphinx 1.8
Fix sphinxcontrib-googleanalytics on Sphinx 1.8
The Google Analytics extension from
python -m pip install sphinxcontrib-googleanalytics
does not work on Sphinx 1.8. When I run it, I get the following error
Could not import extension sphinxcontrib.googleanalytics (exception: cannot import name ‘ExtensionError’ from ‘sphinx.application’ (c:\python37\lib\site-packages\sphinx\application.py))
Fix is to change…