(package, url_fmt)
return partial(
        _linkcode_resolve, revision=revision, package=package, url_fmt=url_fmt
    )
Returns a linkcode_resolve function for the given URL format

    revision is a git commit reference (hash or name)

    package is the name of the root module of the package

    url_fmt is along the lines of ('https://github.com/USER/PROJECT/'
                                   'blob/{revision}/{package}/'
                                   '{path}#L{lineno}')
Returns a linkcode_resolve function for the given URL format
Returns a linkcode_resolve function for the given URL format
def make_linkcode_resolve(package, url_fmt):
    """Returns a linkcode_resolve function for the given URL format

    revision is a git commit reference (hash or name)

    package is the name of the root module of the package

    url_fmt is along the lines of ('https://github.com/USER/PROJECT/'
                                   'blob/{revision}/{package}/'
                                   '{path}#L{lineno}')
    """
    revision = _get_git_revision()
    return partial(
        _linkcode_resolve, revision=revision, package=package, url_fmt=url_fmt
    )
def make_linkcode_resolve ( package , url_fmt ) : revision = _get_git_revision ( ) return partial ( _linkcode_resolve , revision = revision , package = package , url_fmt = url_fmt )