<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_line(self, line, source, *lineno):
 """Append one line of generated reST to the output."""

    if 'conference_scheduler.scheduler' in source:
        module = 'scheduler'
    else:
        module = 'resources'
    rst[module].append(line)
    self.directive.result.append(self.indent + line, source, *lineno)