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 60fdd03 commit 7279faaCopy full SHA for 7279faa
src/sage_docbuild/conf.py
@@ -961,7 +961,7 @@ def apply(self):
961
parent = node.parent
962
index = parent.index(node)
963
prev_node = node.previous_sibling()
964
- if isinstance(node.previous_sibling(), TabContainer):
+ if isinstance(prev_node, TabContainer):
965
# Make sure not to merge inline tabs for adjacent literal blocks
966
parent.insert(index, nodes.paragraph())
967
prev_node = parent[index]
@@ -1103,4 +1103,3 @@ def feature_tags():
1103
for feature in all_features():
1104
if feature.is_present():
1105
yield 'feature_' + feature.name.replace('.', '_')
1106
-
0 commit comments