Package docsite.emitters
Class GeneratedSectionEmitter
java.lang.Object
docsite.SectionEmitter
docsite.emitters.GeneratedSectionEmitter
- Direct Known Subclasses:
AsciidocGeneratedSectionEmitter
,HtmlGeneratedSectionEmitter
,MarkdownGeneratedSectionEmitter
,TemplateSectionEmitter
,TextGeneratedSectionEmitter
-
Field Summary
Fields inherited from class docsite.SectionEmitter
ancestorEmitters, availableLanguages, baseDir, childEmitters, globalImages, INDEX_FILE, localization, logger, metadata, outputFolder, rootEmitter, scripts, section, sectionImages, site, siteLanguage, themeColors, TOC_MAX_LEVEL, TOC_MIN_LEVEL, useCDN
-
Method Summary
Modifier and TypeMethodDescriptionj2html.tags.specialized.ATag
createLinkToSection
(boolean withIcon) protected j2html.tags.specialized.SectionTag
protected j2html.tags.specialized.AsideTag
createTableOfContents
(j2html.tags.specialized.SectionTag section) protected j2html.tags.specialized.AsideTag
protected String
generateHeadersId
(String html) protected abstract j2html.tags.specialized.SectionTag
generateSectionContent
(j2html.tags.Tag<?> before) protected String
protected String
normalizeLinks
(String html) protected String
origin()
protected String
protected String
replaceLocalImages
(String html) protected String
replaceMermaidDiagrams
(String html) protected String
url()
protected String
url
(SiteLanguage language) Methods inherited from class docsite.SectionEmitter
createBreadcrumbs, emitHTML, emitHTML, href, outputPath, translate
-
Method Details
-
generateSectionContent
protected abstract j2html.tags.specialized.SectionTag generateSectionContent(j2html.tags.Tag<?> before) -
createSectionContent
protected j2html.tags.specialized.SectionTag createSectionContent()- Specified by:
createSectionContent
in classSectionEmitter
-
url
- Specified by:
url
in classSectionEmitter
-
url
- Specified by:
url
in classSectionEmitter
-
createLinkToSection
public j2html.tags.specialized.ATag createLinkToSection(boolean withIcon) - Specified by:
createLinkToSection
in classSectionEmitter
-
createTableOfContents
protected j2html.tags.specialized.AsideTag createTableOfContents(j2html.tags.specialized.SectionTag section) - Specified by:
createTableOfContents
in classSectionEmitter
-
origin
- Overrides:
origin
in classSectionEmitter
-
replaceLocalImages
-
replaceMermaidDiagrams
-
hrefId
-
normalizeLinks
-
removeH1
-
generateHeadersId
-
createTableOfContentsFromHtml
-