public class SiteTocHtml extends Object
| Constructor and Description |
|---|
SiteTocHtml(SiteTableOfContents toc,
List<Section> sections) |
| Modifier and Type | Method and Description |
|---|---|
static SiteTocHtml |
fromSiteTocAndSections(SiteTableOfContents toc,
List<Section> sections) |
String |
getTocHtmlForSectionAndPage(Section section,
AsciiDocPage page)
The logic is like this: We need to reproduce the exact order of the TOC.
|
void |
getTocHtmlForSectionAndPage2(Section section,
AsciiDocPage page) |
public SiteTocHtml(SiteTableOfContents toc, List<Section> sections)
public static SiteTocHtml fromSiteTocAndSections(SiteTableOfContents toc, List<Section> sections)
public void getTocHtmlForSectionAndPage2(Section section, AsciiDocPage page)
public String getTocHtmlForSectionAndPage(Section section, AsciiDocPage page)
Copyright © 2016 MuleSoft, Inc.. All rights reserved.