If using a Mobile device, tap the 3 horizontal lines at the top left corner, to open the menu.
Add Headings and they will appear in your table of contents.