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>
<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>
${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??>
<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">
<#list arg.options as option>
<dt>${option.name}
<dd>${option.summary}
<dt class="enum">${option.name}</dt>
<dd class="enum">${option.summary}</dd>
</#list>
</dl>
</#if>
</p>
</#macro>
<#macro relatedByType name type>

View File

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