Generate an outline for the given document.
Usage
outline(doc)
doc: str
The document content to outline.
list
A list of section headings.
>>> outline("Chapter 1") ['Chapter 1']