# File lib/asciidoctor/document.rb, line 697
  def << block
    assign_index block if block.context == :section
    super
  end