def refs_section(doc):
lines = []<EOL>if "<STR_LIT>" in doc and len(doc["<STR_LIT>"]) > <NUM_LIT:0>:<EOL><INDENT>for ref in doc["<STR_LIT>"]:<EOL><INDENT>ref_num = re.findall("<STR_LIT>", ref)[<NUM_LIT:0>]<EOL>ref_body = "<STR_LIT:U+0020>".join(ref.split("<STR_LIT:U+0020>")[<NUM_LIT:2>:])<EOL>lines.append(f"<STR_LIT>" + "<STR_LIT>")<EOL><DEDENT><DEDENT>return lines<EOL>
Generate a References section.

Parameters
----------
doc : dict
    Dictionary produced by numpydoc

Returns
-------
list of str
    Markdown for references section