jsdoc template: fix a few style discrepancies.

This commit is contained in:
Jonathan Puckey 2011-05-31 01:23:04 +02:00
parent 7eb35bf6fb
commit add6379ec3
4 changed files with 8 additions and 3 deletions

View file

@ -170,7 +170,7 @@ Link.prototype._makeSymbolLink = function(alias, parameters) {
var linkName = link.linkPath.replace(/^[^#]+#/, '');
onClick = " onclick=\"return toggleMember('" + linkName + "', true);\"";
}
return "<a href=\""+link.linkPath+link.linkInner+"\""+target+onClick+">"+link.linkText+"</a>";
return "<a href=\""+link.linkPath+link.linkInner+"\""+target+onClick+"><tt>"+link.linkText+"</tt></a>";
}
/** Create a link to a source file. */

View file

@ -119,6 +119,11 @@ ul.package-classes {
margin-left: -10px;
}
.reference-members h2 a {
border-bottom: none;
font-weight: bold;
}
.CodeMirror {
margin-bottom: 16px;
margin-top: 8px;

View file

@ -15,7 +15,7 @@ select, input, textarea {
color: #000;
}
p tt, pre {
tt, pre {
font-family: Menlo, Consolas, "Vera Mono", monospace;
font-size: 11px;
line-height: 19px;

View file

@ -2,7 +2,7 @@
<ul><b>Parameters:</b>
<for each="parameter" in="data.params">
<li>
<tt>{+ parameter.name +}: </tt>
<tt>{+ parameter.name +}:</tt>
{+ new Link().toSymbol(parameter.type) +}
<if test="parameter.desc">&mdash;&nbsp;{+Utils.processInlineTags(parameter.desc, {stripParagraphs: true})+}</if>
<if test="parameter.isOptional">&mdash;&nbsp;optional</if><if test="parameter.defaultValue">, default: <tt>{+parameter.defaultValue+}</tt></if>