Better formatting for GATKDocs

This commit is contained in:
Mark DePristo 2011-08-18 21:24:23 -04:00
parent d94da0b1cf
commit cca0930517
2 changed files with 18 additions and 9 deletions

View File

@ -20,16 +20,21 @@
<#macro argumentDetails arg> <#macro argumentDetails arg>
<h3><a name="${arg.name}">${arg.name}<#if arg.synonyms??> / ${arg.synonyms}</#if></a> <h3><a name="${arg.name}">${arg.name}<#if arg.synonyms??> / ${arg.synonyms}</#if></a>
(<#if arg.attributes??>${arg.attributes} </#if>${arg.type}<#if arg.defaultValue??> with default value ${arg.defaultValue}</#if>)</h3> (<#if arg.attributes??>${arg.attributes} </#if>${arg.type}<#if arg.defaultValue??> with default value ${arg.defaultValue}</#if>)</h3>
${arg.summary}. ${arg.fulltext}<br> <p class="args">
${arg.summary}. ${arg.fulltext}
<#if arg.rodTypes??>${arg.name} binds reference ordered data. This argument supports ROD files of the
following types: ${arg.rodTypes}</#if>
<#if arg.options??> <#if arg.options??>
<p>The ${arg.name} argument is an enumerated type (${arg.type}), which can have one of the following values:</p> <br>
The ${arg.name} argument is an enumerated type (${arg.type}), which can have one of the following values:
<dl class="enum"> <dl class="enum">
<#list arg.options as option> <#list arg.options as option>
<dt>${option.name} <dt class="enum">${option.name}</dt>
<dd>${option.summary} <dd class="enum">${option.summary}</dd>
</#list> </#list>
</dl> </dl>
</#if> </#if>
</p>
</#macro> </#macro>
<#macro relatedByType name type> <#macro relatedByType name type>

View File

@ -42,6 +42,10 @@ p.version
text-align: center; text-align: center;
} }
p.args
{
margin-left: 3em;
}
h1, h2, h3, h4 h1, h2, h3, h4
{ {
@ -81,17 +85,17 @@ hr
* enum DT layout * enum DT layout
*/ */
dl { dl.enum {
border: 1px solid #ccc; margin-left: 3em;
border: 1px dashed #ccc;
} }
dt { dt.enum {
font-weight: bold; font-weight: bold;
text-decoration: underline; text-decoration: underline;
} }
dd { dd.enum {
margin: 0;
padding: 0 0 0.5em 0; padding: 0 0 0.5em 0;
} }