{# create one link per each toctree from master_doc #} {% for tree in toctree_data %} {% endfor %}