'Do consistency checks.'

def check_consistency(self):

    for docname in sorted(self.all_docs):
        if (docname not in self.files_to_rebuild):
            if (docname == self.config.master_doc):
                continue
            self.warn(docname, "document    isn't    included    in    any    toctree")
