Signed-off-on front-end portion of toc level limit.
Merge pull request #907 from darkwing/toc-limit-845355

Signed-off-on front-end portion of toc level limit.