In my Sphinx-doc instance, I have:
at the end of my conf.py file:
conf.py
rst_prolog = """ .. role:: LaTeXLogo ""