Closed pmjones closed 8 years ago
@sandrokeil When I set "tocDepth": 1, at the root level, then I correctly see only one level of TOC depth at the root.
"tocDepth": 1
However, when I set it to 2 at the root level, I see all levels of TOC depth at the root.
This is in the bookdown.github.io develop branch.
develop
I looked for, but did not see, a test for the tocDepth stuff, so that may be needed.
Thoughts?
@pmjones Oh no, you're right. Something goes wrong. I will ckeck this and add a test for this issue. Sorry.
Fixed by #36.
@sandrokeil When I set
"tocDepth": 1
, at the root level, then I correctly see only one level of TOC depth at the root.However, when I set it to 2 at the root level, I see all levels of TOC depth at the root.
This is in the bookdown.github.io
develop
branch.I looked for, but did not see, a test for the tocDepth stuff, so that may be needed.
Thoughts?