Updated gatkdocs template
This commit is contained in:
parent
be523df1b1
commit
8af62576cf
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
-->
|
||||
|
||||
<#global siteRoot = "http://www.broadinstitute.org/gatk/" />
|
||||
<#global guideIndex = "http://www.broadinstitute.org/gatk/guide/" />
|
||||
<#global forum = "http://gatkforums.broadinstitute.org/" />
|
||||
<#global siteRoot = "https://software.broadinstitute.org/gatk/" />
|
||||
<#global guideIndex = "https://software.broadinstitute.org/gatk/documentation/" />
|
||||
<#global forum = "https://gatkforums.broadinstitute.org/gatk" />
|
||||
|
||||
<#macro footerInfo>
|
||||
<hr>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,14 @@
|
|||
<?php
|
||||
|
||||
include '../../../common/include/common.php';
|
||||
include_once '../../config.php';
|
||||
define('noTWITTER', TRUE);
|
||||
include '../../../../common/include/common.php';
|
||||
include_once '../../../config.php';
|
||||
$module = modules::GATK;
|
||||
printHeader($module, "GATK | Tool Documentation Index", "Guide");
|
||||
printHeader($module, "GATK | Tool Documentation Index", "Documentation");
|
||||
|
||||
$dirs = array_diff(scandir("../", SCANDIR_SORT_DESCENDING), array('..', '.'));
|
||||
$curr_version = file_get_contents(engConst::versions_dir.versionFiles::gatk);
|
||||
|
||||
?>
|
||||
|
||||
<div class='row-fluid'>
|
||||
|
|
@ -43,10 +48,28 @@
|
|||
</div>
|
||||
</#macro>
|
||||
|
||||
<h1 id="top">Tool Documentation Index
|
||||
<small>${version}</small>
|
||||
</h1>
|
||||
<div class="accordion" id="index">
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<h1 id="top"><i class='<?php print ico::toolDocsIcon; ?>'></i> Tool Documentation Index </h1>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="btn-group pull-right">
|
||||
<a class="btn btn-warning dropdown-toggle" data-toggle="dropdown" href="#">
|
||||
Version ${version}
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<?php foreach($dirs as $dir) {
|
||||
print "<li><a tabindex='-1' href='../".$dir."'>".$dir."</a></li>";
|
||||
} ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1><small>Showing docs for version ${version} | The current version is <?php print $curr_version; ?></small></h1>
|
||||
<hr />
|
||||
|
||||
<div class="accordion" id="index">
|
||||
<#assign seq = ["engine", "tools", "other", "utilities"]>
|
||||
<#list seq as supercat>
|
||||
<br />
|
||||
|
|
|
|||
|
|
@ -1,9 +1,13 @@
|
|||
<?php
|
||||
|
||||
include '../../../common/include/common.php';
|
||||
include_once '../../config.php';
|
||||
define('noTWITTER', TRUE);
|
||||
include '../../../../common/include/common.php';
|
||||
include_once '../../../config.php';
|
||||
$module = modules::GATK;
|
||||
printHeader($module, "GATK | Tool Documentation Index", "Guide");
|
||||
printHeader($module, "GATK | Tool Documentation Index", "Documentation");
|
||||
|
||||
$curr_version = file_get_contents(engConst::versions_dir.versionFiles::gatk);
|
||||
$dirs = array_diff(scandir("../", SCANDIR_SORT_DESCENDING), array('..', '.'));
|
||||
?>
|
||||
|
||||
<div class='row-fluid' id="top">
|
||||
|
|
|
|||
Loading…
Reference in New Issue