It would be nice to have this feature for templates.

‪On Fri, Jun 19, 2020 at 11:05 AM ‫منصة شليله‬‎ <[email protected]>
wrote:‬

> [منصة شليله]
> SA Riyadh
> [email protected]
> [email protected]
> 51.36.196.174
> 2020/06/19
>
> [Pales help no English]
>
> في الجمعة، ١٩ يونيو ٢٠٢٠ ١٧:٥٢ Magic X <[email protected]> كتب:
>
>> I've been found a way by myself, the ":docdepth:" metadata filed is
>> dedicating to controlling local toc level.
>>
>>
>> https://www.sphinx-doc.org/en/master/usage/restructuredtext/field-lists.html
>>
>>
>> On Thursday, May 14, 2020 at 3:04:59 PM UTC+8, Magic X wrote:
>>>
>>> Hi,
>>>
>>> I'm going to use the 'toc' variable in a html template to produce local
>>> TOC for the current document in the sidebar, is it possible to control the
>>> TOC max depth?
>>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sphinx-users/5b0029e9-7eac-4b2f-bf59-8182f97d6276o%40googlegroups.com
>> <https://groups.google.com/d/msgid/sphinx-users/5b0029e9-7eac-4b2f-bf59-8182f97d6276o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sphinx-users/CAG0aaBfBPQchtofJV7-vjfBEbNumv1qJ3gg5CKrVfV%2BmQLTYkA%40mail.gmail.com
> <https://groups.google.com/d/msgid/sphinx-users/CAG0aaBfBPQchtofJV7-vjfBEbNumv1qJ3gg5CKrVfV%2BmQLTYkA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Aaron Carlisle

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAEX7TpWV5-H6oSktk5tdtkzoKidwEuUbNztET6cxtgwNzvOt9A%40mail.gmail.com.

Reply via email to