-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nesting of tabs and dropdowns etc #217
Comments
Heya yeh should be possible, can you provide a "minimal working example" of the warning being raised |
Signed-off-by: Keita Yokoyama <[email protected]>
I know it's been a while since @BarrySmith first opened this thread, but here's an example. I'm using MyST Markdown instead of rST (not that it should matter for the end result), but this code...
...produces what I think is exactly what you're asking for: So it's clearly possible to nest dropdowns and tabs in each other. You just need to make sure that you're nesting content inside a I do have a related question for you, though, @chrisjsewell. I seem to be able to do this correctly when I manually define nested dropdowns/tab set directives - but when I try to create a tab-set inside a dropdown using a custom directive, the text does not render correctly. For example, I tried to create a similar dropdown to what I showed above - but using a locally-defined directive. Instead of getting tabs nested inside a dropdown (i.e. two dropdowns that look identical to each other), the contents of my auto-generated tab set just get rendered as plain text. Here's a repo where I recreated this issue in an otherwise-bare-bones document; use this particular commit if necessary. The only clue I have is these error messages:
I'm confused by this, though, since the contents of
This reads to me (a Sphinx noob) as a damned-if-you-do-damned-if-you-don't situation. Any suggestions? |
Context
Is it (would it be) possible to allow nesting of tabs, dropdowns etc?
I tried putting a dropdown inside a tab-item and get the error message:
Proposal
Allowing nesting of tabs, dropdowns etc?
Tasks and updates
No response
The text was updated successfully, but these errors were encountered: