]> source.dussan.org Git - aspectj.git/commitdiff
Asciidoctor: Create HTML/PDF with TOC level 5
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 16 Mar 2024 09:21:34 +0000 (10:21 +0100)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 16 Mar 2024 09:21:34 +0000 (10:21 +0100)
The default is 2 in Asciidoctor. A higher TOC level enables developers
and users to post more precise deep-links into docs. In PDF versions, it
is also easier now to navigate from the TOC to a specific subchapter.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
pom.xml

diff --git a/pom.xml b/pom.xml
index 15319c20bc416f01e89d08f0f119daacecfe9a08..33f7be10f4213c2c8342455112cd4599a71533c5 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                                <attributes>
                                                        <source-highlighter>coderay</source-highlighter>
                                                        <toc>left</toc>
+                                                       <toclevels>5</toclevels>
                                                        <icons>font</icons>
                                                        <!--
                                                                Create separate CSS files, rather than embedding CSS into each HTML file