Template changes.

This commit is contained in:
Christian Williams 2010-11-09 08:35:40 -05:00
parent abd020556f
commit 196a49357b
3 changed files with 596 additions and 602 deletions

View File

@ -1,6 +1,7 @@
---
layout: default
title: "API - File Index"
jdsoc_template: allfiles.tmpl
---
{! Link.base = ""; /* all generated links will be relative to this */ !}

View File

@ -1,30 +1,24 @@
---
layout: default
title: "API - {+data.alias+}"
jdsoc_template: class.tmpl
---
{! Link.base = "../"; /* all generated links will be relative to this */ !}
<style type="text/css">
{+include("static/default.css")+}
</style>
</head>
<body>
<!-- ============================== header ================================= -->
<!-- begin static/header.html -->
{+include("static/header.html")+}
<!-- end static/header.html -->
<!-- ============================== classes index ============================ -->
<div id="index">
<div id="index">
<!-- begin publish.classesIndex -->
{+publish.classesIndex+}
<!-- end publish.classesIndex -->
</div>
</div>
<div id="content">
<div id="content">
<!-- ============================== class title ============================ -->
<h1 class="classTitle">
<h1 class="classTitle">
{!
var classType = "";
@ -43,10 +37,10 @@ title: "API - {+data.alias+}"
}
!}
{+classType+}{+data.alias+}
</h1>
</h1>
<!-- ============================== class summary ========================== -->
<p class="description">
<p class="description">
<if test="data.augments.length"><br />Extends
{+
data.augments
@ -63,11 +57,11 @@ title: "API - {+data.alias+}"
<if test="!data.isBuiltin()">{# isn't defined in any file #}
<br /><i>Defined in: </i> {+new Link().toSrc(data.srcFile)+}.
</if>
</p>
</p>
<!-- ============================== constructor summary ==================== -->
<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
<caption>{+classType+}Summary</caption>
<thead>
<tr>
@ -89,11 +83,11 @@ title: "API - {+data.alias+}"
</td>
</tr>
</tbody>
</table>
</if>
</table>
</if>
<!-- ============================== properties summary ===================== -->
<if test="data.properties.length">
<if test="data.properties.length">
{! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
<if test="ownProperties.length">
<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class {+data.alias+}.">
@ -152,10 +146,10 @@ title: "API - {+data.alias+}"
!}
</dl>
</if>
</if>
</if>
<!-- ============================== methods summary ======================== -->
<if test="data.methods.length">
<if test="data.methods.length">
{! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
<if test="ownMethods.length">
<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}.">
@ -212,9 +206,9 @@ title: "API - {+data.alias+}"
!}
</dl>
</if>
</if>
</if>
<!-- ============================== events summary ======================== -->
<if test="data.events.length">
<if test="data.events.length">
{! var ownEvents = data.events.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
<if test="ownEvents.length">
<table class="summaryTable" cellspacing="0" summary="A summary of the events documented in the class {+data.alias+}.">
@ -271,11 +265,11 @@ title: "API - {+data.alias+}"
!}
</dl>
</if>
</if>
</if>
<!-- ============================== constructor details ==================== -->
<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
<div class="details"><a name="constructor"> </a>
<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
<div class="details"><a name="constructor"> </a>
<div class="sectionTitle">
{+classType+}Detail
</div>
@ -361,11 +355,11 @@ title: "API - {+data.alias+}"
</dl>
</if>
</div>
</if>
</div>
</if>
<!-- ============================== field details ========================== -->
<if test="defined(ownProperties) && ownProperties.length">
<if test="defined(ownProperties) && ownProperties.length">
<div class="sectionTitle">
Field Detail
</div>
@ -430,10 +424,10 @@ title: "API - {+data.alias+}"
<if test="!$member_last"><hr /></if>
</for>
</if>
</if>
<!-- ============================== method details ========================= -->
<if test="defined(ownMethods) && ownMethods.length">
<if test="defined(ownMethods) && ownMethods.length">
<div class="sectionTitle">
Method Detail
</div>
@ -529,10 +523,10 @@ title: "API - {+data.alias+}"
<if test="!$member_last"><hr /></if>
</for>
</if>
</if>
<!-- ============================== event details ========================= -->
<if test="defined(ownEvents) && ownEvents.length">
<if test="defined(ownEvents) && ownEvents.length">
<div class="sectionTitle">
Event Detail
</div>
@ -628,10 +622,10 @@ title: "API - {+data.alias+}"
<if test="!$member_last"><hr /></if>
</for>
</if>
</if>
<hr />
</div>
<hr />
</div>
<!-- ============================== footer ================================= -->
@ -639,5 +633,3 @@ title: "API - {+data.alias+}"
<if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
</div>
</body>
</html>

View File

@ -1,6 +1,7 @@
---
layout: default
title: "API - Index"
jdsoc_template: index.tmpl
---
<style type="text/css">