add toctree to index