Fossil SCM

Fix the mkdownload.tcl script that generates the download.html page so that is uses the new website skin.

drh 2015-02-18 02:49 trunk
Commit bdc892f9ffca81d2d7ea33181c0bce6aef4906de
--- www/branching.wiki
+++ www/branching.wiki
@@ -180,11 +180,11 @@
180180
181181
A tag can be a one-time tag, a propagating tag or a cancellation tag.
182182
A one-time tag only applies to the check-in to which it is attached. A
183183
propagating tag applies to the check-in to which it is attached and also
184184
to all direct descendants of that check-in. A <i>direct descendant</i>
185
-is a descendant through direct children. Tags propagation does not
185
+is a descendant through direct children. Tag propagation does not
186186
cross merges. Tag propagation also stops as soon
187187
as it encounters another check-in with the same tag. A cancellation tag
188188
is attached to a single check-in in order to either override a one-time
189189
tag that was previously placed on that same check-in, or to block
190190
tag propagation from an ancestor.
191191
--- www/branching.wiki
+++ www/branching.wiki
@@ -180,11 +180,11 @@
180
181 A tag can be a one-time tag, a propagating tag or a cancellation tag.
182 A one-time tag only applies to the check-in to which it is attached. A
183 propagating tag applies to the check-in to which it is attached and also
184 to all direct descendants of that check-in. A <i>direct descendant</i>
185 is a descendant through direct children. Tags propagation does not
186 cross merges. Tag propagation also stops as soon
187 as it encounters another check-in with the same tag. A cancellation tag
188 is attached to a single check-in in order to either override a one-time
189 tag that was previously placed on that same check-in, or to block
190 tag propagation from an ancestor.
191
--- www/branching.wiki
+++ www/branching.wiki
@@ -180,11 +180,11 @@
180
181 A tag can be a one-time tag, a propagating tag or a cancellation tag.
182 A one-time tag only applies to the check-in to which it is attached. A
183 propagating tag applies to the check-in to which it is attached and also
184 to all direct descendants of that check-in. A <i>direct descendant</i>
185 is a descendant through direct children. Tag propagation does not
186 cross merges. Tag propagation also stops as soon
187 as it encounters another check-in with the same tag. A cancellation tag
188 is attached to a single check-in in order to either override a one-time
189 tag that was previously placed on that same check-in, or to block
190 tag propagation from an ancestor.
191
+23 -24
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -5,42 +5,41 @@
55
#
66
#
77
set out [open download.html w]
88
fconfigure $out -encoding utf-8 -translation lf
99
puts $out \
10
-{<!DOCTYPE html><html>
11
-<head>
12
-<base href="/" />
13
-<title>Fossil: Downloads</title>
14
-<link rel="stylesheet" href="/fossil/style.css" type="text/css"
15
- media="screen">
16
-</head>
17
-<body>
18
-<div class="header">
19
- <div class="logo">
20
- <img src="/fossil/logo" alt="logo">
21
- <br /><nobr>Fossil</nobr>
22
- </div>
23
-
24
- <div class="title">Fossil Downloads</div>
25
-</div>
26
-<div class="mainmenu">
10
+{<!DOCTYPE html>
11
+<html>
12
+ <head>
13
+ <base href="https://www.fossil-scm.org/fossil/timeline" />
14
+ <title>Fossil: Timeline</title>
15
+ <link rel="alternate" type="application/rss+xml" title="RSS Feed"
16
+ href="/fossil/timeline.rss" />
17
+ <link rel="stylesheet" href="/fossil/style.css?default" type="text/css"
18
+ media="screen" />
19
+ </head>
20
+
21
+ <body>
22
+ <div class="header">
23
+ <div class="title"><h1>Fossil</h1>Timeline</div>
24
+ </div>
25
+ <div class="mainmenu">
2726
<a href='/fossil/doc/trunk/www/index.wiki'>Home</a>
2827
<a href='/fossil/timeline?y=ci'>Timeline</a>
29
-<a href='/download.html'>Download</a>
30
-<a href='/fossil/dir?ci=trunk'>Code</a>
31
-<a href='/fossil/doc/trunk/www/permutedindex.html'>Documentation</a>
28
+<a href='/fossil/dir?ci=tip'>Code</a>
29
+<a href='/fossil/doc/trunk/www/permutedindex.html'>Docs</a>
3230
<a href='/fossil/brlist'>Branches</a>
33
-<a href='/fossil/taglist'>Tags</a>
34
-<a href='/fossil/reportlist'>Tickets</a>
31
+<a href='/fossil/ticket'>Tickets</a>
32
+<a href='/fossil/wiki'>Wiki</a>
33
+<a href='/download.html' class='active'>Download</a>
3534
</div>
3635
<div class="content">
3736
<p>
3837
3938
<center><font size=4>}
4039
puts $out \
41
-"<b>To install Fossil \u2192</b> download the stand-alone executable"
40
+"<b>To install Fossil &rarr;</b> download the stand-alone executable"
4241
puts $out \
4342
{and put it on your $PATH.
4443
</font><p><small>
4544
RPMs available
4645
<a href="http://download.opensuse.org/repositories/home:/rmax:/fossil/">
@@ -111,11 +110,11 @@
111110
puts $out "</td></tr>"
112111
}
113112
}
114113
puts $out "<tr><td colspan=5><hr></td></tr>"
115114
116
-puts $out {</table>
115
+puts $out {</table></div>
117116
</body>
118117
</html>
119118
}
120119
121120
close $out
122121
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -5,42 +5,41 @@
5 #
6 #
7 set out [open download.html w]
8 fconfigure $out -encoding utf-8 -translation lf
9 puts $out \
10 {<!DOCTYPE html><html>
11 <head>
12 <base href="/" />
13 <title>Fossil: Downloads</title>
14 <link rel="stylesheet" href="/fossil/style.css" type="text/css"
15 media="screen">
16 </head>
17 <body>
18 <div class="header">
19 <div class="logo">
20 <img src="/fossil/logo" alt="logo">
21 <br /><nobr>Fossil</nobr>
22 </div>
23
24 <div class="title">Fossil Downloads</div>
25 </div>
26 <div class="mainmenu">
27 <a href='/fossil/doc/trunk/www/index.wiki'>Home</a>
28 <a href='/fossil/timeline?y=ci'>Timeline</a>
29 <a href='/download.html'>Download</a>
30 <a href='/fossil/dir?ci=trunk'>Code</a>
31 <a href='/fossil/doc/trunk/www/permutedindex.html'>Documentation</a>
32 <a href='/fossil/brlist'>Branches</a>
33 <a href='/fossil/taglist'>Tags</a>
34 <a href='/fossil/reportlist'>Tickets</a>
 
35 </div>
36 <div class="content">
37 <p>
38
39 <center><font size=4>}
40 puts $out \
41 "<b>To install Fossil \u2192</b> download the stand-alone executable"
42 puts $out \
43 {and put it on your $PATH.
44 </font><p><small>
45 RPMs available
46 <a href="http://download.opensuse.org/repositories/home:/rmax:/fossil/">
@@ -111,11 +110,11 @@
111 puts $out "</td></tr>"
112 }
113 }
114 puts $out "<tr><td colspan=5><hr></td></tr>"
115
116 puts $out {</table>
117 </body>
118 </html>
119 }
120
121 close $out
122
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -5,42 +5,41 @@
5 #
6 #
7 set out [open download.html w]
8 fconfigure $out -encoding utf-8 -translation lf
9 puts $out \
10 {<!DOCTYPE html>
11 <html>
12 <head>
13 <base href="https://www.fossil-scm.org/fossil/timeline" />
14 <title>Fossil: Timeline</title>
15 <link rel="alternate" type="application/rss+xml" title="RSS Feed"
16 href="/fossil/timeline.rss" />
17 <link rel="stylesheet" href="/fossil/style.css?default" type="text/css"
18 media="screen" />
19 </head>
20
21 <body>
22 <div class="header">
23 <div class="title"><h1>Fossil</h1>Timeline</div>
24 </div>
25 <div class="mainmenu">
 
26 <a href='/fossil/doc/trunk/www/index.wiki'>Home</a>
27 <a href='/fossil/timeline?y=ci'>Timeline</a>
28 <a href='/fossil/dir?ci=tip'>Code</a>
29 <a href='/fossil/doc/trunk/www/permutedindex.html'>Docs</a>
 
30 <a href='/fossil/brlist'>Branches</a>
31 <a href='/fossil/ticket'>Tickets</a>
32 <a href='/fossil/wiki'>Wiki</a>
33 <a href='/download.html' class='active'>Download</a>
34 </div>
35 <div class="content">
36 <p>
37
38 <center><font size=4>}
39 puts $out \
40 "<b>To install Fossil &rarr;</b> download the stand-alone executable"
41 puts $out \
42 {and put it on your $PATH.
43 </font><p><small>
44 RPMs available
45 <a href="http://download.opensuse.org/repositories/home:/rmax:/fossil/">
@@ -111,11 +110,11 @@
110 puts $out "</td></tr>"
111 }
112 }
113 puts $out "<tr><td colspan=5><hr></td></tr>"
114
115 puts $out {</table></div>
116 </body>
117 </html>
118 }
119
120 close $out
121

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button