'The path to the documentation root in the project'

def full_doc_path(self, version=LATEST):

    doc_base = self.checkout_path(version)
    for possible_path in ['docs', 'doc', 'Doc']:
        if os.path.exists(os.path.join(doc_base, ('%s' % possible_path))):
            return os.path.join(doc_base, ('%s' % possible_path))
    return doc_base
