Remove some of the cruft from the documentation template.

This commit is contained in:
Jonathan Puckey 2011-05-23 14:51:59 +02:00
parent a389be30cf
commit e1cfadf9a3
2 changed files with 12 additions and 20 deletions

View file

@ -1,5 +1,4 @@
<div align="center">{+new Link().toFile("index.html").withText("Class Index")+} <div align="center">{+new Link().toFile("index.html").withText("Class Index")+}</div>
| {+new Link().toFile("files.html").withText("File Index")+}</div>
<hr /> <hr />
<h2>Classes</h2> <h2>Classes</h2>
<ul class="classList"> <ul class="classList">

View file

@ -41,9 +41,6 @@
} }
classType += "Namespace "; classType += "Namespace ";
} }
else {
classType += "Class ";
}
!} !}
{+classType+}{+data.alias+} {+classType+}{+data.alias+}
</h1> </h1>
@ -64,16 +61,12 @@
</if> </if>
{+resolveLinks(data.classDesc)+} {+resolveLinks(data.classDesc)+}
<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 ==================== --> <!-- ============================== constructor summary ==================== -->
<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))"> <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+}."> <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
<caption>{+classType+}Summary</caption> <caption>Constructor</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">Constructor Attributes</th> <th scope="col">Constructor Attributes</th>
@ -101,8 +94,8 @@
<if test="data.properties.length"> <if test="data.properties.length">
{! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}); !} {! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}); !}
<if test="ownProperties.length"> <if test="ownProperties.length">
<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class {+data.alias+}."> <table class="summaryTable" cellspacing="0" summary="A summary of the properties documented in the class {+data.alias+}.">
<caption>Field Summary</caption> <caption>Properties</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">Field Attributes</th> <th scope="col">Field Attributes</th>
@ -139,7 +132,7 @@
borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)}); borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
for (var i = 0, l = contributers.length; i < l; i++) { for (var i = 0, l = contributers.length; i < l; i++) {
output += output +=
"<dt>Fields borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>" "<dt>Functions inherited from "+new Link().toSymbol(contributers[i])+": </dt>"
+ +
"<dd>" + "<dd>" +
borrowedMembers borrowedMembers
@ -163,11 +156,11 @@
{! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace}); !} {! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace}); !}
<if test="ownMethods.length"> <if test="ownMethods.length">
<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}."> <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}.">
<caption>Method Summary</caption> <caption>Functions</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">Method Attributes</th> <th scope="col">Function Attributes</th>
<th scope="col">Method Name and Description</th> <th scope="col">Function Name and Description</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -197,7 +190,7 @@
borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)}); borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
for (var i = 0, l = contributers.length; i < l; i++) { for (var i = 0, l = contributers.length; i < l; i++) {
output += output +=
"<dt>Methods borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>" "<dt>Methods inherited from "+new Link().toSymbol(contributers[i])+": </dt>"
+ +
"<dd>" + "<dd>" +
borrowedMembers borrowedMembers
@ -255,7 +248,7 @@
borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)}); borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
for (var i = 0, l = contributers.length; i < l; i++) { for (var i = 0, l = contributers.length; i < l; i++) {
output += output +=
"<dt>Events borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>" "<dt>Events inherited from "+new Link().toSymbol(contributers[i])+": </dt>"
+ +
"<dd>" + "<dd>" +
borrowedMembers borrowedMembers
@ -279,7 +272,7 @@
<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))"> <if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
<div class="details"><a name="constructor"> </a> <div class="details"><a name="constructor"> </a>
<div class="sectionTitle"> <div class="sectionTitle">
{+classType+}Detail Constructor Detail
</div> </div>
<div class="fixedFont">{! <div class="fixedFont">{!
@ -369,7 +362,7 @@
<!-- ============================== field details ========================== --> <!-- ============================== field details ========================== -->
<if test="defined(ownProperties) && ownProperties.length"> <if test="defined(ownProperties) && ownProperties.length">
<div class="sectionTitle"> <div class="sectionTitle">
Field Detail Properties Detail
</div> </div>
<for each="member" in="ownProperties"> <for each="member" in="ownProperties">
<a name="{+Link.symbolNameToLinkName(member)+}"> </a> <a name="{+Link.symbolNameToLinkName(member)+}"> </a>