Function parens not showing up in right sidebar ToC #8328
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @kattni, As for the issue at hand, there are headings in your Content and they're added to the ToC with a modified First let's talk about the Content. You've enabled ![]() The rendering of the ToC is done by the templates provided by the MkDocstrings Python handler (as you're using Python code, right?). It's using the But apart of adding |
Beta Was this translation helpful? Give feedback.
Hi @kattni,
it's my first time seeing parenthesis shortened as parens 👀 maybe it will catch on 😆
As for the issue at hand, there are headings in your Content and they're added to the ToC with a modified
toc-label
value to make them more readable.First let's talk about the Content. You've enabled
separate_signature
, which puts the signature in a code block below the function name heading. As seen with yourredraw
function. In general I would recommend to keep it as-is, as enabling the signature in the heading makes it less readable. The image below shows it disabled, and here's the original. Also even though there is the content with parens in the heading, as you see, it's still not part …