Creation directory

Hello, I would like to include a menu headings and sub-headings of the directory for easy navigation but I can not find how. I do like the screenshot but the page will be very long and impractical... Thank you for your help.