def depart_heading(self, _):
assert isinstance(self.current_node, nodes.title)<EOL>text = self.current_node.astext()<EOL>if self.translate_section_name:<EOL><INDENT>text = self.translate_section_name(text)<EOL><DEDENT>name = nodes.fully_normalize_name(text)<EOL>section = self.current_node.parent<EOL>section['<STR_LIT>'].append(name)<EOL>self.document.note_implicit_target(section, section)<EOL>self.current_node = section<EOL>
Finish establishing section

        Wrap up title node, but stick in the section node. Add the section names
        based on all the text nodes added to the title.