We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8bfa1 commit 57fd4abCopy full SHA for 57fd4ab
src/sage_docbuild/conf.py
@@ -833,6 +833,10 @@ def apply(self):
833
from sphinx_inline_tabs._impl import TabContainer
834
parent = node.parent
835
index = parent.index(node)
836
+ if isinstance(node.previous_sibling(), TabContainer):
837
+ # Make sure not to merge inline tabs for adjacent literal blocks
838
+ parent.insert(index, Text(''))
839
+ index += 1
840
parent.remove(node)
841
# Tab for Sage code
842
container = TabContainer("", type="tab", new_set=False)
0 commit comments