def METHOD_NAME(name, rawtext, text, lineno, inliner, options={}, content=[]):
    ref = "https://github.com/scrapy/scrapy/commit/" + text
    set_classes(options)
    node = nodes.reference(rawtext, "commit " + text, refuri=ref, **options)
    return [node], []