Collapsible Outline Example

From the article how do I create a collapsible outline?