Hi,

On Thursday, 27 May 2021 at 10:38:03 UTC+2 [email protected] wrote:

> Hello,
>
> According to the docs, the :hidden: option of a toctree directive does 
> this:
>
> *[...] This will still notify Sphinx of the document hierarchy, but not 
> insert links into the document at the location of the directive – this 
> makes sense if you intend to insert these links yourself, in a different 
> style, or in the HTML sidebar. *
>
> However, it seems it has another side effect: the hidden sub-documents 
> also do not show up on higher-level ToC's, that are themselves not hidden.
>
> Suppose I want to have a sub-toctree, and I want to not add a visible ToC 
> at the place of that directive, but I /do/ want the toctree entries to show 
> up at a higher level (for example, a documentation-global table of 
> contents), how should I do that?
>
If I understand correctly, you should add :includehidden: to the global 
toctree.

HTH,
Stefano
 

-- 
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/6147e94d-6fc9-4fbb-a44e-29d3da191c83n%40googlegroups.com.

Reply via email to