# Adds a floating back to top button to the bottom right corner of the page # that appears once the page has been scrolled by one turn of the wheel. Asciidoctor::Extensions.register do docinfo_processor do at_location :head process do |doc| <<~'EOS'.chomp EOS end end docinfo_processor do at_location :footer process do |doc| <<~EOS.chomp EOS end end end