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:
Jay Bryant
2018-03-20 10:56:34 -05:00
parent 296759f0c7
commit cfea9db27e
9 changed files with 201 additions and 5 deletions

View File

@@ -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>