File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def depart_section(self, node:nodes.section) -> None:
8585 self ._has_code_block = False
8686
8787 # Skip non-leaf section without content
88- if self ._is_empty_non_leaf_secion (node ):
88+ if self ._is_empty_non_leaf_section (node ):
8989 return
9090 # Skip toplevel section, we generate :class:`Document` for it
9191 if self ._section_level == 0 :
@@ -106,7 +106,7 @@ def unknown_departure(self, node:nodes.Node) -> None:
106106 # Helper methods #
107107 ##################
108108
109- def _is_empty_non_leaf_secion (self , node :nodes .section ) -> bool :
109+ def _is_empty_non_leaf_section (self , node :nodes .section ) -> bool :
110110 """
111111 A section is a leaf section it has non-child section.
112112 A section is empty when it has not non-section child node
You can’t perform that action at this time.
0 commit comments