From 791f1c8f39015b6faec2d8f8034290cb9ce25644 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Wed, 16 Aug 2023 12:09:20 -0600 Subject: toclevels attribute should be singular in explanation --- docs/modules/extend/pages/use-cases.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/extend/pages/use-cases.adoc b/docs/modules/extend/pages/use-cases.adoc index 5fe9c12a..9efe11de 100644 --- a/docs/modules/extend/pages/use-cases.adoc +++ b/docs/modules/extend/pages/use-cases.adoc @@ -228,7 +228,7 @@ This method is invoked for each parent entry in the TOC, starting from the docum include::example$pdf-converter-additional-toc-entries.rb[] ---- -The depth of the TOC is automatically controlled by the `toclevels` attributes. +The depth of the TOC is automatically controlled by the `toclevels` attribute. Once this limit is reached, the converter will not call `get_entries_for_toc` for that parent (as none of its children will be included in the TOC). [#breakable-tables] -- cgit v1.2.3