code: def _make_title_node(self, node, increment=True):
          
  
          parent_title_node = node.parent.next_node(nodes.title)
          nextslide_info = getattr(
              parent_title_node, 'nextslide_info',
              (parent_title_node.deepcopy().children, 1),
          )
          nextslide_info = (
              nextslide_info[0],
              nextslide_info[1] + 1,
          )
  
          if node.args:
              textnodes, messages = node.state.inline_text(
                  node.args[0],
                  1,
              )
              new_title = nodes.title(node.args[0], '', *textnodes)
  
          else:
  
              title_nodes = nextslide_info[0][:]
  
              if 'increment' in node.attributes:
                  title_nodes.append(
                      nodes.Text(' (%s)' % nextslide_info[1])
                  )
  
              new_title = nodes.title(
                  '', '',
                  *title_nodes
              )
  
          new_title.nextslide_info = nextslide_info
          return new_title
docs: Generate a new title node for ``node``.
  
          ``node`` is a ``nextslide`` node. The title will use the node's
          parent's title, or the title specified as an argument.