Made the Table of Contents collapsible
I modified the pom.xml to bring in tocbot-3.0.2 and modified index.adoc to use it. I also added docinfo-footer.html and docinfo.html, as that is the usual way of including tocbot. I removed the .gitignore file, because we shouldn't be ignoring HTML and CSS files.
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
<backend>docbook5</backend>
|
||||
<doctype>book</doctype>
|
||||
<attributes>
|
||||
<docinfo>true</docinfo>
|
||||
<docinfo>shared</docinfo>
|
||||
</attributes>
|
||||
</configuration>
|
||||
</execution>
|
||||
@@ -311,7 +311,10 @@
|
||||
<fileset dir="${project.build.directory}/contents" />
|
||||
<zipfileset dir="${project.build.directory}/generated-docs" prefix="reference/htmlsingle">
|
||||
<include name="index.html" />
|
||||
<include name="docinfo.html" />
|
||||
<include name="docinfo-footer.html" />
|
||||
<include name="images/**" />
|
||||
<include name="tocbot-3.0.2/**" />
|
||||
</zipfileset>
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
Reference in New Issue
Block a user