public interface TemplateEngine
TemplateEngine
is used to render documentation snippets.MustacheTemplateEngine
Modifier and Type | Method and Description |
---|---|
Template |
compileTemplate(String path)
Compiles the template at the given
path . |
Template compileTemplate(String path) throws IOException
path
. Typically, a
TemplateResourceResolver
will be used to resolve the path into a resource
that can be read and compiled.path
- the path of the templateTemplate
IOException
- if compilation fails