From 5c1f11e97068c8df787a9eef987ec486431c7baf Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sun, 22 Aug 2010 00:38:24 +0100 Subject: customise the yuidoc templates --- build/yuidoc_template/assets/api.css | 14 ++-- build/yuidoc_template/assets/yui.png | Bin 7648 -> 0 bytes build/yuidoc_template/main.tmpl | 126 +++++++++++++++++------------------ 3 files changed, 70 insertions(+), 70 deletions(-) delete mode 100644 build/yuidoc_template/assets/yui.png diff --git a/build/yuidoc_template/assets/api.css b/build/yuidoc_template/assets/api.css index 5468b2a..878a0b1 100644 --- a/build/yuidoc_template/assets/api.css +++ b/build/yuidoc_template/assets/api.css @@ -7,7 +7,7 @@ a:link { color: #003399; } a:visited { color: #003399;} #doc3 #hd { margin-bottom:1em; position: relative; zoom: 1; } -#doc3 #hd h1 { color: #545454; font-size: 170%; padding: 0px 0 8px 150px; background: url(yui.png) 15px 9px no-repeat; height: 60px; font-weight: bold; } +#doc3 #hd h1 { color: #545454; font-size: 170%; padding: 0; height: 60px; font-weight: bold; text-align: center;} #doc3 #hd h1 a { position: relative; top: 14px; } #doc3 #hd a { text-decoration: none; color: black; } #doc3 #hd h3 { @@ -81,7 +81,7 @@ a:visited { color: #003399;} #doc3 .nav .module UL.content A { text-decoration: none; color: black; display: block; padding: 2px 4px 2px 4px; } #doc3 .nav .module LI, #doc3 .nav .module LI A { - zoom: 1; + zoom: 1; } #doc3 .nav .module LI.selected A, #doc3 .nav .module LI A:hover { @@ -170,17 +170,17 @@ body.show_protected .protected { } #splash_classList ul { - margin: 1em; - margin-left:2em; + margin: 1em; + margin-left:2em; } #splash_classList ul li { - list-style: disc outside; + list-style: disc outside; } /* source code view */ -#srcout {min-width: 580px; } -*html #srcout { width: 100%; padding-bottom:1em; overflow-x:auto } +#srcout {min-width: 580px; } +*html #srcout { width: 100%; padding-bottom:1em; overflow-x:auto } .highlight .c { color: #60a0b0; font-style: italic } /* Comment */ .highlight .err { border: 1px solid #FF0000 } /* Error */ diff --git a/build/yuidoc_template/assets/yui.png b/build/yuidoc_template/assets/yui.png deleted file mode 100644 index 65905e4..0000000 Binary files a/build/yuidoc_template/assets/yui.png and /dev/null differ diff --git a/build/yuidoc_template/main.tmpl b/build/yuidoc_template/main.tmpl index 7c7b50b..74de127 100644 --- a/build/yuidoc_template/main.tmpl +++ b/build/yuidoc_template/main.tmpl @@ -4,10 +4,10 @@ - API: $modulename #if $classname# $classname #end if# #if $filename# $filename #end if# (YUI Library) + API: $modulename #if $classname# $classname #end if# #if $filename# $filename #end if# - - + + @@ -16,10 +16,10 @@
-
-

$projectname

+
+

$projectname v$version API Documentation

$moduletitle  $version

- $projectname + $projectname #if $modulename > $modulename #if $classname# > $classname #end if# @@ -33,11 +33,11 @@
-
+ -
-
-
+
+
+
Filters @@ -49,8 +49,8 @@ #if $index
- This is the API documentation for the - Yahoo! User Interface Library. + This is the API documentation for + $projectname.

Choose a module name from the list for more information.

@@ -63,7 +63,7 @@ #include raw $filepath_highlighted
- #else if $classname + #else if $classname

#if $access#$access#end if# @@ -78,19 +78,19 @@ #if $uses - - uses + - uses #set $i=0 #for $provider in $uses##if $i > 0#, #end if# $provider#set $i=$i+1# #end for# - + #end if

- + #if $subclasses
Known Subclasses:
@@ -103,11 +103,11 @@
#end if - + #if $deprecated
Deprecated: $deprecated
#end if - + #if $see
See also: $see
#end if @@ -127,7 +127,7 @@ #if $constructor.params #set $i=0 #set $current="" - + #for $param in $constructor.params# #if $current != $param.name #if $i > 0#, #end if# @@ -153,7 +153,7 @@ #end for #end if - + #if $constructor.return
Returns:
@@ -161,14 +161,14 @@ $constructor.return
- #end if - + #end if +
#end if - +
#if $properties
@@ -184,18 +184,18 @@ $property.description
- - + + #if $property.default
Default Value: $property.default -
+
#end if #if $property.deprecated
Deprecated: $property.deprecated -
+ #end if
@@ -259,7 +259,7 @@ #end if ) - +
$method.description
@@ -293,14 +293,14 @@ #if $method.chainable
Chainable: This method is chainable. -
+ #end if - + #if $method.deprecated
Deprecated $method.deprecated -
+ #end if @@ -314,7 +314,7 @@ #end if #if $inherited.methods -
+
#for $superclassname in $inherited.methods

Methods inherited from $superclassname:

@@ -323,7 +323,7 @@ #set i=0 #set l=len($inherited.methods[$superclassname])-1 #for $method in $inherited.methods[$superclassname] - + $method.name#if $i<$l#,#end if# #set i=i+1 @@ -368,7 +368,7 @@ ) - +
$event.description
@@ -386,7 +386,7 @@ $param.description - + #end for #end if @@ -394,18 +394,18 @@ #if $event.bubbles
Bubbles: This event bubbles to $event.bubbles. -
+
#end if #if $event.preventable
Preventable: This event is preventable by method: $event.preventable. -
+
#end if #if $event.deprecated
Deprecated $event.deprecated -
+
#end if @@ -419,7 +419,7 @@ #if $inherited.events -
+
#for $superclassname in $inherited.events

Events inherited from $superclassname:

@@ -456,21 +456,21 @@ $config.description
- + #if $config.deprecated
Deprecated $config.deprecated -
+
#end if - + #if $config.default
Default Value: $config.default -
+ #end if
- + #end for @@ -478,7 +478,7 @@ #end if #if $inherited.configs -
+
#for $superclassname in $inherited.configs

Configuration attributes inherited from $superclassname:

@@ -488,7 +488,7 @@ #set l=len($inherited.methods[$superclassname])-1 #for $config in $inherited.configs[$superclassname] #set i=i+1 - + $config.name#if $i<$l#,#end if# #set i=i+1 @@ -502,9 +502,9 @@
#else if $modulename - +

Module: $modulename - + #if $beta Beta #end if @@ -554,9 +554,9 @@ #for $info in $submodules #set count = count + 1 #end for - #if count != 0 + #if count != 0
-

Submodules:

+

Submodules:

#for $info in $submodules
$info
@@ -570,9 +570,9 @@
#end if -

-
-
+
+ +