templates.olinkdb.ftl Maven / Gradle / Ivy
<#--
baseName: base name for document source, such as index
basePath: base of absolute path to target data file
docNames: list of document names such as reference and admin-guide
extension: output file extension such as html, pdf, or xhtml
format: output format such as xhtml5 or epub
isChunked: whether the output format is chunked HTML
name(): wrapper to call NameUtils.renameDoc()
projectName: project name such as OpenAM
projectVersion: project version such as 3.1.0
type: output file type such as html, pdf, or xhtml
-->
<#if format != "epub">
<#list docNames as doc>
#list>
]>
#if>
<#if format == "epub">
<#list docNames as doc>
#list>
#if>
<#if format == "html" && isChunked>
<#list docNames as doc>
&${doc};
#list>
#if>
<#if format == "html" && !isChunked || format == "xhtml" || format == "bootstrap">
<#list docNames as doc>
&${doc};
#list>
#if>
<#if format == "pdf" || format == "rtf">
<#list docNames as doc>
&${doc};
#list>
#if>
<#if format == "webhelp">
<#list docNames as doc>
&${doc};
#list>
#if>