def generate_groups_markdown():
 for (group, group_docs) in get_groups_markdown().items():
  file_path = os.path.join(FUNCTION_GROUPS_DIR, ('%s.md' % group))
  with open(file_path, 'w') as f:
   f.write(group_docs)

def generate_groups_markdown ( ) : for ( group , group_docs ) in get_groups_markdown ( ) . items ( ) : file_path = os . path . join ( FUNCTION_GROUPS_DIR , ( '%s.md' % group ) ) with open ( file_path , 'w' ) as f : f . write ( group_docs )
generate and save markdown files for function group documentation .