def __call__(self):
import uqbar.apis<EOL>if not self._target_directory.exists():<EOL><INDENT>self._target_directory.mkdir(parents=True)<EOL><DEDENT>self._target_directory = self._target_directory.resolve()<EOL>source_paths = uqbar.apis.collect_source_paths(self._initial_source_paths)<EOL>node_tree = self.build_node_tree(source_paths)<EOL>documenters = self.collect_module_documenters(node_tree)<EOL>visited_paths = self.write(documenters)<EOL>self.prune(visited_paths)<EOL>return visited_paths<EOL>
Generate documentation.