def get_guide_extlinks()

in sphinx_shared/_conf/default_extlinks.py [0:0]


def get_guide_extlinks():
    """add extlinks for all of the entries in ../_includes/guide_links.txt"""
    import re
    guide_extlinks = {}
    guide_links_file = open('_includes/guide_links.txt')
    guide_links_contents = guide_links_file.read()
    guide_links_file.close()
    m = '.. _(.*):\s+(.*)/'
    matches = re.findall(m, guide_links_contents)
    for i in matches:
        guide_extlinks[str.lower(i[0])] = (i[1] + '/%s.html', '')
    return guide_extlinks