The navigation supports especially only one level. If you need deep nested structures you propably should use a larger documentation system like GitBook.
Adding a Page to Navigation
Not every page by default is part of the navigation. If you want to add a page to the navigation you have to add the
navigation attribute with a desired
--- layout: page title: Navigation navigation: 2 ---
index is starting with 1 representing the first item.