doctoc_next Tag
The doctoc_next tag provides a link to the next page in the TOC tree. The next page is determined by performing a right-most tree traversal; e.g. if one styles the TOC tree in the usual top-down nested HTML list manner, the next page is the link in the row below the current one, no matter how wide it is indented.
The tag takes a required argument which determines the exact text of the rendered link.
{% doctoc_next only_name %}
# => "Node name"
{% doctoc_next next_with_parens %}
# => "Next (Node name)"
{% doctoc_next only_next %}
# => "Next"
{% doctoc_next only_next_small_caps %}
# => "next"
{% doctoc_next custom, Next →%}
# => "Next →"
If the last element in the "list" is reached, the next link will point to the first element in the "list".