summaryrefslogtreecommitdiff
path: root/jarmonbuild/yuidoc_template.patch
blob: 1e1b94897177bdc7a8087f4f2b4fcd93ffc4a07f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
diff -ru template.orig/assets/api.css yuidoc_template/assets/api.css
--- template.orig/assets/api.css	2016-12-05 11:50:33.853055029 -0500
+++ yuidoc_template/assets/api.css	2016-12-05 12:14:33.454839017 -0500
@@ -7,7 +7,7 @@
 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 {
Only in template.orig/assets: yui.png
diff -ru template.orig/main.tmpl yuidoc_template/main.tmpl
--- template.orig/main.tmpl	2016-12-05 11:50:33.853055029 -0500
+++ yuidoc_template/main.tmpl	2016-12-05 12:33:53.828316623 -0500
@@ -3,7 +3,7 @@
 <html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
 <head>
     <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-	<title>API: $modulename #if $classname# $classname #end if# #if $filename# $filename #end if# (YUI Library)</title>
+	<title>API: $modulename #if $classname# $classname #end if# #if $filename# $filename #end if#</title>
 
 	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css#if $timestamp#?stamp=$timestamp#end if#" />
 	<link rel="stylesheet" type="text/css" href="assets/api.css#if $timestamp#?stamp=$timestamp#end if#" />
@@ -16,7 +16,7 @@
 
 <div id="doc3" class="yui-t2">
 	<div id="hd">
-        <h1><a href="$projecturl" title="$projectname">$projectname</a></h1>
+        <h1><a href="$projecturl" title="$projectname">$projectname v$version API Documentation</a></h1>
         <h3>$moduletitle&nbsp; <span class="subtitle">$version</span></h3>
         <a href="./index.html" title="$projectname">$projectname</a> 
         #if $modulename
@@ -48,7 +48,7 @@
                 #if $index
 
                     <div class="summary description">
-                      This is the API documentation for the 
+                      This is the API documentation for
                       <a href="$projecturl">$projectname</a>.
                       <p>Choose a module name from the list for more information.</p>
                     </div>