limit the maximum depth of toctrees
Merge pull request #12 from xabbuh/toctree-depth

limit the maximum depth of toctrees