def resolve(self, cobj, this_url):
full_name = cobj['<STR_LIT>'] + '<STR_LIT:.>' + cobj['<STR_LIT:name>']<EOL>link = self._link_cache.get(full_name, None)<EOL>if link is None:<EOL><INDENT>link = self._get_link(cobj)<EOL>self._link_cache[full_name] = link<EOL><DEDENT>if link is False or link is None:<EOL><INDENT>return None<EOL><DEDENT>if self.relative:<EOL><INDENT>link = os.path.relpath(link, start=this_url)<EOL>if self._is_windows:<EOL><INDENT>link = link.replace('<STR_LIT:\\>', '<STR_LIT:/>')<EOL><DEDENT>link = link[<NUM_LIT:3>:]<EOL><DEDENT>return link<EOL>
Resolve the link to the documentation, returns None if not found

        Parameters
        ----------
        cobj : dict
            Dict with information about the "code object" for which we are
            resolving a link.
            cobi['name'] : function or class name (str)
            cobj['module_short'] : shortened module name (str)
            cobj['module'] : module name (str)
        this_url: str
            URL of the current page. Needed to construct relative URLs
            (only used if relative=True in constructor).

        Returns
        -------
        link : str | None
            The link (URL) to the documentation.