Revert "Revert "Optional delay of grandchildren link display""

This reverts commit 89f79138c3.
This commit is contained in:
Peter Mosses
2019-08-29 14:41:09 +02:00
parent 3af59176f4
commit 5e72b7db67
3 changed files with 19 additions and 0 deletions

View File

@@ -191,6 +191,20 @@ This would create the following navigation structure:
+-- ..
```
The current default is that when a grandparent is selected, the links to its
children *and all its grandchildren* are displayed in the navigation menu.
So in the above example, selecting `UI Components` displays the link to
`Button Child Page` as well as the link to `Buttons`.
Setting the following global option in `_config.yml` delays the display of links
to grandchildren until their parent is selected. So selecting `UI Components`
displays only the link to `Buttons`, and the link to `Button Child Page` is
displayed when `Buttons` is selected.
```
grandchildren_branch: true
```
---
## Auxiliary Navigation