def _logo()

in source/ext/extref.py [0:0]


    def _logo(self):
        logo_fullpath = next((path for name, path in self._env().config['extref_logo_images'].items() \
                                                  if name == self._ref_type()), None)
        if not logo_fullpath:
            raise ValueError("There is no appropriate logo for the reference {0}".format(self._ref_type()))
        logo_path = logo_fullpath.replace(str(self._env().app.outdir), '')[1:]
        return self._image_tag(logo_path)