def create_readme(data):
out = ['<STR_LIT>']<EOL>for module in sorted(data.keys()):<EOL><INDENT>desc = "<STR_LIT>".join(data[module]).strip().split("<STR_LIT:\n>")[<NUM_LIT:0>]<EOL>format_str = "<STR_LIT>"<EOL>out.append(format_str.format(name=module, desc=desc))<EOL><DEDENT>for module in sorted(data.keys()):<EOL><INDENT>out.append(<EOL>'<STR_LIT>'.format(<EOL>name=module, details="<STR_LIT>".join(data[module]).strip()<EOL>)<EOL>)<EOL><DEDENT>return "<STR_LIT>".join(out)<EOL>
Create README.md text for the given module data.