i've always used the .. toc:: directive to build the table of contents. it 
grabs each of the H1, H2, H3 as far as your depth tells it to go. following 
the .. toc:: line there is a "contents" line which is the title for your 
table of contents. 

On Wednesday, July 26, 2023 at 11:20:19 AM UTC-4 n1i...@gmail.com wrote:

> I have looked at directives and this one is not listed in the 
> documentation. The previous writer used it for a table of contents at the 
> top of the page.
>
> From what I can figure out, it pulls from the heading style, H1, and it 
> puts a little TOC at the top of the page. 
>
> Can someone confirm this is what I am seeing? Not sure why it is not in 
> the documentation. I am a newbie to all this and figuring it out as I go 
> along. 
>
> .. contents::
>    :local:
>    :backlinks: none
>    :depth: 1
>
> Thank you.
>
> Lisa
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/7487d94b-3910-4976-9fb2-6125612b0975n%40googlegroups.com.

Reply via email to