def delete(<EOL>self<EOL>):
projectTitle = self.title<EOL>theseProjects = self.parent.projects[:]<EOL>for p in theseProjects:<EOL><INDENT>if p.title == projectTitle:<EOL><INDENT>theseProjects.remove(p)<EOL>break<EOL><DEDENT><DEDENT>self.parent.projects = theseProjects<EOL>doc = self<EOL>while doc:<EOL><INDENT>if not doc.parent:<EOL><INDENT>break<EOL><DEDENT>else:<EOL><INDENT>doc = doc.parent<EOL><DEDENT><DEDENT>doc.content = doc.to_string(indentLevel=<NUM_LIT:0>, title=False)<EOL>return None<EOL>
*delete a project from the document*

        **Return:**
            - None

        **Usage:**

            .. code-block:: python

                myProject.delete()