public class HtmlProcessor extends AbstractProcessor
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 |
linkToDoc(java.lang.String src,
org.eclipse.golo.doc.DocumentationElement dst)
Returns the direct link to the given documentation element from a given filename.
|
void |
process(java.util.Map<java.lang.String,ModuleDocumentation> docs,
java.nio.file.Path targetFolder) |
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,
org.eclipse.golo.doc.DocumentationElement doc,
java.nio.file.Path src) |
static java.lang.String |
tocItem(org.eclipse.golo.doc.DocumentationElement doc) |
adaptSections, addModule, docFile, getTargetFolder, linkToFile, linkToFile, modules, outputFile, renderIndex, setTargetFolder, template
public HtmlProcessor()
protected java.lang.String fileExtension()
fileExtension
in class AbstractProcessor
public org.eclipse.golo.doc.DocIndex globalIndex()
public java.lang.String linkToDoc(java.lang.String src, org.eclipse.golo.doc.DocumentationElement dst)
public java.lang.String render(ModuleDocumentation documentation) throws java.lang.Throwable
render
in class AbstractProcessor
java.lang.Throwable
public void process(java.util.Map<java.lang.String,ModuleDocumentation> docs, java.nio.file.Path targetFolder) throws java.lang.Throwable
process
in class AbstractProcessor
java.lang.Throwable
public static com.github.rjeschke.txtmark.BlockEmitter blockHighlighter()
public static java.lang.String sectionTitle(int level, org.eclipse.golo.doc.DocumentationElement doc, java.nio.file.Path src)
public static java.lang.String tocItem(org.eclipse.golo.doc.DocumentationElement doc)
public static java.lang.String process(java.lang.String documentation, int rootLevel, com.github.rjeschke.txtmark.Configuration configuration)