auto generate a table of contents for each page
auto generate a table of contents for each page