''

def get_boards_info(self):

    boards_info = {u'boards': {}}
    boards_info[u'boards'][u'names'] = self._names
    sub_menu_info = self.get_menu_info()
    boards_info.update(sub_menu_info)
    for name in self._names:
        boards_info[u'boards'][name] = {}
        block = get_lines_with_name(self._lines, name)
        head = get_heads(block)[0]
        block = remove_block_head(block, head)
        generic_info = get_generic_info(block, u'board')
        menu_blocks_info = get_menu_blocks_info(block, sub_menu_info)
        boards_info[u'boards'][name][u'generic'] = generic_info
        boards_info[u'boards'][name].update(menu_blocks_info)
    return boards_info
