summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-08-16 12:13:45 -0600
committerDan Allen <dan.j.allen@gmail.com>2023-08-16 12:13:45 -0600
commitde13a7846ad2c93767837f8c72d0637d965988f8 (patch)
tree3c618e640787396388fd2fa96b694344b99321c3
parent44c55a749b3b683d9417be0dea4eee2c3429ae28 (diff)
document that toclevels and outlinelevels can be set as a block attribute per section
-rw-r--r--docs/modules/ROOT/pages/toc.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/modules/ROOT/pages/toc.adoc b/docs/modules/ROOT/pages/toc.adoc
index 41face98..39855c27 100644
--- a/docs/modules/ROOT/pages/toc.adoc
+++ b/docs/modules/ROOT/pages/toc.adoc
@@ -28,7 +28,7 @@ If a placement is not specified, that location is between the document title and
While the table of contents isn't generated by default, the PDF outline is included unless xref:pdf-outline.adoc#deactivate[explicitly deactivated].
The `toclevels` attribute controls the depth of both the TOC and the PDF outline, regardless of whether the TOC is enabled.
The depth of the PDF outline can be controlled independently using the xref:pdf-outline.adoc#levels[outlinelevels attribute].
-//Both attributes can also be set on individual sections to override the depth for a given section and its children.
+Both the `toclevels` and `outlinelevels` attributes can be set as a block attribute on each section to override the respective depth of the TOC or outline for that section.
== Insert TOC entries