public class HtmlProcessor extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
static com.github.rjeschke.txtmark.Configuration |
CONFIG |
| Constructor and Description |
|---|
HtmlProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static com.github.rjeschke.txtmark.BlockEmitter |
blockHighlighter() |
protected java.lang.String |
fileExtension() |
org.eclipse.golo.doc.DocIndex |
globalIndex() |
java.lang.String |
link(DocumentationElement src,
DocumentationElement dst)
Returns the direct link to the given documentation element from a given element.
|
java.lang.String |
linkToDoc(java.lang.String src,
DocumentationElement dst)
Returns the direct link to the given documentation element from a given filename.
|
static java.lang.String |
moduleListItem(ModuleDocumentation doc,
java.lang.String target) |
void |
process(java.util.Collection<ModuleDocumentation> docs,
java.nio.file.Path targetFolder) |
static java.lang.String |
process(java.lang.String documentation) |
static java.lang.String |
process(java.lang.String documentation,
int rootLevel) |
static java.lang.String |
process(java.lang.String documentation,
int rootLevel,
com.github.rjeschke.txtmark.Configuration configuration) |
java.lang.String |
render(ModuleDocumentation documentation) |
static java.lang.String |
sectionTitle(int level,
DocumentationElement doc,
java.nio.file.Path src) |
static java.lang.String |
tocItem(DocumentationElement doc) |
adaptSections, addModule, docFile, getPackages, getSubmodulesOf, getTargetFolder, linkToFile, linkToFile, modules, outputFile, renderIndex, setTargetFolder, templatepublic static final com.github.rjeschke.txtmark.Configuration CONFIG
public HtmlProcessor()
protected java.lang.String fileExtension()
fileExtension in class AbstractProcessorpublic org.eclipse.golo.doc.DocIndex globalIndex()
public java.lang.String linkToDoc(java.lang.String src, DocumentationElement dst)
public java.lang.String link(DocumentationElement src, DocumentationElement dst)
public java.lang.String render(ModuleDocumentation documentation) throws java.lang.Throwable
render in class AbstractProcessorjava.lang.Throwablepublic void process(java.util.Collection<ModuleDocumentation> docs, java.nio.file.Path targetFolder) throws java.lang.Throwable
process in class AbstractProcessorjava.lang.Throwablepublic static com.github.rjeschke.txtmark.BlockEmitter blockHighlighter()
public static java.lang.String sectionTitle(int level, DocumentationElement doc, java.nio.file.Path src)
public static java.lang.String tocItem(DocumentationElement doc)
public static java.lang.String moduleListItem(ModuleDocumentation doc, java.lang.String target)
public static java.lang.String process(java.lang.String documentation, int rootLevel, com.github.rjeschke.txtmark.Configuration configuration)
public static java.lang.String process(java.lang.String documentation, int rootLevel)
public static java.lang.String process(java.lang.String documentation)