How to edit text in the document
You cannot edit the text of the document in the Documents section.
Open the Templates section
Find and open the template the document was generated (has the same name)
Change the template text
Open the Documents section and create a document again (see Create document)