Fossil SCM

Make use of the new $ROOT feature in the on-line documentation.

drh 2015-12-20 02:02 trunk merge
Commit 604862508bc9f30e355b153967e5017c0c451b7f
+2 -2
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -88,11 +88,11 @@
8888
fconfigure $out -encoding utf-8 -translation lf
8989
puts $out \
9090
"<div class='fossil-doc' data-title='Index Of Fossil Documentation'>"
9191
puts $out {
9292
<center>
93
-<form action='../../../docsrch' method='GET'>
93
+<form action='$ROOT/docsrch' method='GET'>
9494
<input type="text" name="s" size="40" autofocus>
9595
<input type="submit" value="Search Docs">
9696
</form>
9797
</center>
9898
<h2>Primary Documents:</h2>
@@ -101,15 +101,15 @@
101101
<li> <a href='faq.wiki'>FAQ</a>
102102
<li> <a href='build.wiki'>Compiling and installing Fossil</a>
103103
<li> <a href='../COPYRIGHT-BSD2.txt'>License</a>
104104
<li> <a href='http://www.fossil-scm.org/schimpf-book/home'>Jim Schimpf's
105105
book</a>
106
-<li> <a href='../../../help'>Command-line help</a>
106
+<li> <a href='$ROOT/help'>Command-line help</a>
107107
</ul>
108108
<a name="pindex"></a>
109109
<h2>Permuted Index:</h2>
110110
<ul>}
111111
foreach entry $permindex {
112112
foreach {title file} $entry break
113113
puts $out "<li><a href=\"$file\">$title</a></li>"
114114
}
115115
puts $out "</ul></div>"
116116
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -88,11 +88,11 @@
88 fconfigure $out -encoding utf-8 -translation lf
89 puts $out \
90 "<div class='fossil-doc' data-title='Index Of Fossil Documentation'>"
91 puts $out {
92 <center>
93 <form action='../../../docsrch' method='GET'>
94 <input type="text" name="s" size="40" autofocus>
95 <input type="submit" value="Search Docs">
96 </form>
97 </center>
98 <h2>Primary Documents:</h2>
@@ -101,15 +101,15 @@
101 <li> <a href='faq.wiki'>FAQ</a>
102 <li> <a href='build.wiki'>Compiling and installing Fossil</a>
103 <li> <a href='../COPYRIGHT-BSD2.txt'>License</a>
104 <li> <a href='http://www.fossil-scm.org/schimpf-book/home'>Jim Schimpf's
105 book</a>
106 <li> <a href='../../../help'>Command-line help</a>
107 </ul>
108 <a name="pindex"></a>
109 <h2>Permuted Index:</h2>
110 <ul>}
111 foreach entry $permindex {
112 foreach {title file} $entry break
113 puts $out "<li><a href=\"$file\">$title</a></li>"
114 }
115 puts $out "</ul></div>"
116
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -88,11 +88,11 @@
88 fconfigure $out -encoding utf-8 -translation lf
89 puts $out \
90 "<div class='fossil-doc' data-title='Index Of Fossil Documentation'>"
91 puts $out {
92 <center>
93 <form action='$ROOT/docsrch' method='GET'>
94 <input type="text" name="s" size="40" autofocus>
95 <input type="submit" value="Search Docs">
96 </form>
97 </center>
98 <h2>Primary Documents:</h2>
@@ -101,15 +101,15 @@
101 <li> <a href='faq.wiki'>FAQ</a>
102 <li> <a href='build.wiki'>Compiling and installing Fossil</a>
103 <li> <a href='../COPYRIGHT-BSD2.txt'>License</a>
104 <li> <a href='http://www.fossil-scm.org/schimpf-book/home'>Jim Schimpf's
105 book</a>
106 <li> <a href='$ROOT/help'>Command-line help</a>
107 </ul>
108 <a name="pindex"></a>
109 <h2>Permuted Index:</h2>
110 <ul>}
111 foreach entry $permindex {
112 foreach {title file} $entry break
113 puts $out "<li><a href=\"$file\">$title</a></li>"
114 }
115 puts $out "</ul></div>"
116
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -1,9 +1,9 @@
11
<div class='fossil-doc' data-title='Index Of Fossil Documentation'>
22
33
<center>
4
-<form action='../../../docsrch' method='GET'>
4
+<form action='$ROOT/docsrch' method='GET'>
55
<input type="text" name="s" size="40" autofocus>
66
<input type="submit" value="Search Docs">
77
</form>
88
</center>
99
<h2>Primary Documents:</h2>
@@ -12,11 +12,11 @@
1212
<li> <a href='faq.wiki'>FAQ</a>
1313
<li> <a href='build.wiki'>Compiling and installing Fossil</a>
1414
<li> <a href='../COPYRIGHT-BSD2.txt'>License</a>
1515
<li> <a href='http://www.fossil-scm.org/schimpf-book/home'>Jim Schimpf's
1616
book</a>
17
-<li> <a href='../../../help'>Command-line help</a>
17
+<li> <a href='$ROOT/help'>Command-line help</a>
1818
</ul>
1919
<a name="pindex"></a>
2020
<h2>Permuted Index:</h2>
2121
<ul>
2222
<li><a href="fiveminutes.wiki">5 Minutes as a Single User &mdash; Update and Running in</a></li>
2323
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -1,9 +1,9 @@
1 <div class='fossil-doc' data-title='Index Of Fossil Documentation'>
2
3 <center>
4 <form action='../../../docsrch' method='GET'>
5 <input type="text" name="s" size="40" autofocus>
6 <input type="submit" value="Search Docs">
7 </form>
8 </center>
9 <h2>Primary Documents:</h2>
@@ -12,11 +12,11 @@
12 <li> <a href='faq.wiki'>FAQ</a>
13 <li> <a href='build.wiki'>Compiling and installing Fossil</a>
14 <li> <a href='../COPYRIGHT-BSD2.txt'>License</a>
15 <li> <a href='http://www.fossil-scm.org/schimpf-book/home'>Jim Schimpf's
16 book</a>
17 <li> <a href='../../../help'>Command-line help</a>
18 </ul>
19 <a name="pindex"></a>
20 <h2>Permuted Index:</h2>
21 <ul>
22 <li><a href="fiveminutes.wiki">5 Minutes as a Single User &mdash; Update and Running in</a></li>
23
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -1,9 +1,9 @@
1 <div class='fossil-doc' data-title='Index Of Fossil Documentation'>
2
3 <center>
4 <form action='$ROOT/docsrch' method='GET'>
5 <input type="text" name="s" size="40" autofocus>
6 <input type="submit" value="Search Docs">
7 </form>
8 </center>
9 <h2>Primary Documents:</h2>
@@ -12,11 +12,11 @@
12 <li> <a href='faq.wiki'>FAQ</a>
13 <li> <a href='build.wiki'>Compiling and installing Fossil</a>
14 <li> <a href='../COPYRIGHT-BSD2.txt'>License</a>
15 <li> <a href='http://www.fossil-scm.org/schimpf-book/home'>Jim Schimpf's
16 book</a>
17 <li> <a href='$ROOT/help'>Command-line help</a>
18 </ul>
19 <a name="pindex"></a>
20 <h2>Permuted Index:</h2>
21 <ul>
22 <li><a href="fiveminutes.wiki">5 Minutes as a Single User &mdash; Update and Running in</a></li>
23
+24 -24
--- www/webpage-ex.md
+++ www/webpage-ex.md
@@ -13,111 +13,111 @@
1313
background-color: #eee;
1414
}
1515
</style>
1616
1717
* <a target='_blank' class='exbtn'
18
- href='../../../timeline?y=ci&n=100'>Example</a>
18
+ href='$ROOT/timeline?y=ci&n=100'>Example</a>
1919
100 most recent check-ins.
2020
2121
* <a target='_blank' class='exbtn'
22
- href='../../../finfo?name=src/file.c'>Example</a>
22
+ href='$ROOT/finfo?name=src/file.c'>Example</a>
2323
All changes to the <b>src/file.c</b> source file.
2424
2525
* <a target='_blank' class='exbtn'
26
- href='../../../timeline?n=200&uf=0c3c2d086a'>Example</a>
26
+ href='$ROOT/timeline?n=200&uf=0c3c2d086a'>Example</a>
2727
All check-ins using a particular version of the <b>src/file.c</b>
2828
source file.
2929
3030
* <a target='_blank' class='exbtn'
31
- href='../../../timeline?n=11&y=ci&c=2014-01-01'>Example</a>
31
+ href='$ROOT/timeline?n=11&y=ci&c=2014-01-01'>Example</a>
3232
Check-ins proximate to an historical point in time (2014-01-01).
3333
3434
* <a target='_blank' class='exbtn'
35
- href='../../../timeline?n=11&y=ci&c=2014-01-01&v=1'>Example</a>
35
+ href='$ROOT/timeline?n=11&y=ci&c=2014-01-01&v=1'>Example</a>
3636
The previous example augmented with file changes.
3737
3838
* <a target='_blank' class='exbtn'
39
- href='../../../timeline?n=25&y=ci&a=1970-01-01'>Example</a>
39
+ href='$ROOT/timeline?n=25&y=ci&a=1970-01-01'>Example</a>
4040
First 25 check-ins after 1970-01-01. (The first 25 check-ins of
4141
the project.)
4242
4343
* <a target='_blank' class='exbtn'
44
- href='../../../timeline?n=200&r=svn-import'>Example</a>
44
+ href='$ROOT/timeline?n=200&r=svn-import'>Example</a>
4545
All check-ins of the "svn-import" branch together with check-ins
4646
that merge with that branch.
4747
4848
* <a target='_blank' class='exbtn'
49
- href='../../../timeline?n=200&t=svn-import'>Example</a>
49
+ href='$ROOT/timeline?n=200&t=svn-import'>Example</a>
5050
All check-ins of the "svn-import" branch only.
5151
5252
* <a target='_blank' class='exbtn'
53
- href='../../../timeline?n=100&y=ci&ubg'>Example</a>
53
+ href='$ROOT/timeline?n=100&y=ci&ubg'>Example</a>
5454
100 most recent check-ins color coded by committer rather than by branch.
5555
5656
* <a target='_blank' class='exbtn'
57
- href='../../../timeline?from=version-1.27&to=version-1.28'>Example</a>
57
+ href='$ROOT/timeline?from=version-1.27&to=version-1.28'>Example</a>
5858
All check-ins on the most direct path from
5959
version-1.27 to version-1.28
6060
6161
* <a target='_blank' class='exbtn'
62
- href='../../../timeline?namechng'>Example</a>
62
+ href='$ROOT/timeline?namechng'>Example</a>
6363
Show check-ins that contain file name changes
6464
6565
* <a target='_blank' class='exbtn'
66
- href='../../../timeline?u=drh&c=2014-01-08&y=ci'>Example</a>
66
+ href='$ROOT/timeline?u=drh&c=2014-01-08&y=ci'>Example</a>
6767
Show check-ins circa 2014-01-08 by user "drh".
6868
6969
<big><b>&rarr;</b></big> (Hint: In the pages above, click the graph nodes
7070
for any two check-ins or files to see a diff.)
7171
<big><b>&larr;</b></big>
7272
7373
* <a target='_blank' class='exbtn'
74
- href='../../../search?s=interesting+pages'>Example</a>
74
+ href='$ROOT/search?s=interesting+pages'>Example</a>
7575
Full-text search for "interesting pages".
7676
7777
* <a target='_blank' class='exbtn'
78
- href='../../../tree?ci=daff9d20621&type=tree'>Example</a>
78
+ href='$ROOT/tree?ci=daff9d20621&type=tree'>Example</a>
7979
All files for a particular check-in (daff9d20621480)
8080
8181
* <a target='_blank' class='exbtn'
82
- href='../../../tree?ci=trunk&type=tree&mtime=1'>Example</a>
82
+ href='$ROOT/tree?ci=trunk&type=tree&mtime=1'>Example</a>
8383
All files for the latest check-in on a branch (trunk) sorted by
8484
last modification time.
8585
8686
* <a target='_blank' class='exbtn'
87
- href='../../../fileage?name=svn-import'>Example</a>
87
+ href='$ROOT/fileage?name=svn-import'>Example</a>
8888
Age of all files in the latest checking for branch "svn-import".
8989
9090
* <a target='_blank' class='exbtn'
91
- href='../../../brlist'>Example</a>
91
+ href='$ROOT/brlist'>Example</a>
9292
Table of branches. (Click on column headers to sort.)
9393
9494
* <a target='_blank' class='exbtn'
95
- href='../../../stat'>Example</a>
95
+ href='$ROOT/stat'>Example</a>
9696
Overall repository status.
9797
9898
* <a target='_blank' class='exbtn'
99
- href='../../../reports?type=ci&view=byuser'>Example</a>
99
+ href='$ROOT/reports?type=ci&view=byuser'>Example</a>
100100
Number of check-ins per committer.
101101
102102
* <a target='_blank' class='exbtn'
103
- href='../../../reports?view=byfile'>Example</a>
103
+ href='$ROOT/reports?view=byfile'>Example</a>
104104
Number of check-ins for each source file.
105105
(Click on column headers to sort.)
106106
107107
* <a target='_blank' class='exbtn'
108
- href='../../../blame?checkin=5260fbf63287&filename=src/rss.c&limit=-1'>
108
+ href='$ROOT/blame?checkin=5260fbf63287&filename=src/rss.c&limit=-1'>
109109
Example</a>
110110
Most recent change to each line of a particular source file in a
111111
particular check-in.
112112
113113
* <a target='_blank' class='exbtn'
114
- href='../../../taglist'>Example</a>
114
+ href='$ROOT/taglist'>Example</a>
115115
List of tags on check-ins.
116116
117117
* <a target='_blank' class='exbtn'
118
- href='../../../bigbloblist'>Example</a>
118
+ href='$ROOT/bigbloblist'>Example</a>
119119
The largest objects in the repository.
120120
121121
* <a target='_blank' class='exbtn'
122
- href='../../../hash-collisions'>Example</a>
122
+ href='$ROOT/hash-collisions'>Example</a>
123123
SHA1 prefix collisions
124124
--- www/webpage-ex.md
+++ www/webpage-ex.md
@@ -13,111 +13,111 @@
13 background-color: #eee;
14 }
15 </style>
16
17 * <a target='_blank' class='exbtn'
18 href='../../../timeline?y=ci&n=100'>Example</a>
19 100 most recent check-ins.
20
21 * <a target='_blank' class='exbtn'
22 href='../../../finfo?name=src/file.c'>Example</a>
23 All changes to the <b>src/file.c</b> source file.
24
25 * <a target='_blank' class='exbtn'
26 href='../../../timeline?n=200&uf=0c3c2d086a'>Example</a>
27 All check-ins using a particular version of the <b>src/file.c</b>
28 source file.
29
30 * <a target='_blank' class='exbtn'
31 href='../../../timeline?n=11&y=ci&c=2014-01-01'>Example</a>
32 Check-ins proximate to an historical point in time (2014-01-01).
33
34 * <a target='_blank' class='exbtn'
35 href='../../../timeline?n=11&y=ci&c=2014-01-01&v=1'>Example</a>
36 The previous example augmented with file changes.
37
38 * <a target='_blank' class='exbtn'
39 href='../../../timeline?n=25&y=ci&a=1970-01-01'>Example</a>
40 First 25 check-ins after 1970-01-01. (The first 25 check-ins of
41 the project.)
42
43 * <a target='_blank' class='exbtn'
44 href='../../../timeline?n=200&r=svn-import'>Example</a>
45 All check-ins of the "svn-import" branch together with check-ins
46 that merge with that branch.
47
48 * <a target='_blank' class='exbtn'
49 href='../../../timeline?n=200&t=svn-import'>Example</a>
50 All check-ins of the "svn-import" branch only.
51
52 * <a target='_blank' class='exbtn'
53 href='../../../timeline?n=100&y=ci&ubg'>Example</a>
54 100 most recent check-ins color coded by committer rather than by branch.
55
56 * <a target='_blank' class='exbtn'
57 href='../../../timeline?from=version-1.27&to=version-1.28'>Example</a>
58 All check-ins on the most direct path from
59 version-1.27 to version-1.28
60
61 * <a target='_blank' class='exbtn'
62 href='../../../timeline?namechng'>Example</a>
63 Show check-ins that contain file name changes
64
65 * <a target='_blank' class='exbtn'
66 href='../../../timeline?u=drh&c=2014-01-08&y=ci'>Example</a>
67 Show check-ins circa 2014-01-08 by user "drh".
68
69 <big><b>&rarr;</b></big> (Hint: In the pages above, click the graph nodes
70 for any two check-ins or files to see a diff.)
71 <big><b>&larr;</b></big>
72
73 * <a target='_blank' class='exbtn'
74 href='../../../search?s=interesting+pages'>Example</a>
75 Full-text search for "interesting pages".
76
77 * <a target='_blank' class='exbtn'
78 href='../../../tree?ci=daff9d20621&type=tree'>Example</a>
79 All files for a particular check-in (daff9d20621480)
80
81 * <a target='_blank' class='exbtn'
82 href='../../../tree?ci=trunk&type=tree&mtime=1'>Example</a>
83 All files for the latest check-in on a branch (trunk) sorted by
84 last modification time.
85
86 * <a target='_blank' class='exbtn'
87 href='../../../fileage?name=svn-import'>Example</a>
88 Age of all files in the latest checking for branch "svn-import".
89
90 * <a target='_blank' class='exbtn'
91 href='../../../brlist'>Example</a>
92 Table of branches. (Click on column headers to sort.)
93
94 * <a target='_blank' class='exbtn'
95 href='../../../stat'>Example</a>
96 Overall repository status.
97
98 * <a target='_blank' class='exbtn'
99 href='../../../reports?type=ci&view=byuser'>Example</a>
100 Number of check-ins per committer.
101
102 * <a target='_blank' class='exbtn'
103 href='../../../reports?view=byfile'>Example</a>
104 Number of check-ins for each source file.
105 (Click on column headers to sort.)
106
107 * <a target='_blank' class='exbtn'
108 href='../../../blame?checkin=5260fbf63287&filename=src/rss.c&limit=-1'>
109 Example</a>
110 Most recent change to each line of a particular source file in a
111 particular check-in.
112
113 * <a target='_blank' class='exbtn'
114 href='../../../taglist'>Example</a>
115 List of tags on check-ins.
116
117 * <a target='_blank' class='exbtn'
118 href='../../../bigbloblist'>Example</a>
119 The largest objects in the repository.
120
121 * <a target='_blank' class='exbtn'
122 href='../../../hash-collisions'>Example</a>
123 SHA1 prefix collisions
124
--- www/webpage-ex.md
+++ www/webpage-ex.md
@@ -13,111 +13,111 @@
13 background-color: #eee;
14 }
15 </style>
16
17 * <a target='_blank' class='exbtn'
18 href='$ROOT/timeline?y=ci&n=100'>Example</a>
19 100 most recent check-ins.
20
21 * <a target='_blank' class='exbtn'
22 href='$ROOT/finfo?name=src/file.c'>Example</a>
23 All changes to the <b>src/file.c</b> source file.
24
25 * <a target='_blank' class='exbtn'
26 href='$ROOT/timeline?n=200&uf=0c3c2d086a'>Example</a>
27 All check-ins using a particular version of the <b>src/file.c</b>
28 source file.
29
30 * <a target='_blank' class='exbtn'
31 href='$ROOT/timeline?n=11&y=ci&c=2014-01-01'>Example</a>
32 Check-ins proximate to an historical point in time (2014-01-01).
33
34 * <a target='_blank' class='exbtn'
35 href='$ROOT/timeline?n=11&y=ci&c=2014-01-01&v=1'>Example</a>
36 The previous example augmented with file changes.
37
38 * <a target='_blank' class='exbtn'
39 href='$ROOT/timeline?n=25&y=ci&a=1970-01-01'>Example</a>
40 First 25 check-ins after 1970-01-01. (The first 25 check-ins of
41 the project.)
42
43 * <a target='_blank' class='exbtn'
44 href='$ROOT/timeline?n=200&r=svn-import'>Example</a>
45 All check-ins of the "svn-import" branch together with check-ins
46 that merge with that branch.
47
48 * <a target='_blank' class='exbtn'
49 href='$ROOT/timeline?n=200&t=svn-import'>Example</a>
50 All check-ins of the "svn-import" branch only.
51
52 * <a target='_blank' class='exbtn'
53 href='$ROOT/timeline?n=100&y=ci&ubg'>Example</a>
54 100 most recent check-ins color coded by committer rather than by branch.
55
56 * <a target='_blank' class='exbtn'
57 href='$ROOT/timeline?from=version-1.27&to=version-1.28'>Example</a>
58 All check-ins on the most direct path from
59 version-1.27 to version-1.28
60
61 * <a target='_blank' class='exbtn'
62 href='$ROOT/timeline?namechng'>Example</a>
63 Show check-ins that contain file name changes
64
65 * <a target='_blank' class='exbtn'
66 href='$ROOT/timeline?u=drh&c=2014-01-08&y=ci'>Example</a>
67 Show check-ins circa 2014-01-08 by user "drh".
68
69 <big><b>&rarr;</b></big> (Hint: In the pages above, click the graph nodes
70 for any two check-ins or files to see a diff.)
71 <big><b>&larr;</b></big>
72
73 * <a target='_blank' class='exbtn'
74 href='$ROOT/search?s=interesting+pages'>Example</a>
75 Full-text search for "interesting pages".
76
77 * <a target='_blank' class='exbtn'
78 href='$ROOT/tree?ci=daff9d20621&type=tree'>Example</a>
79 All files for a particular check-in (daff9d20621480)
80
81 * <a target='_blank' class='exbtn'
82 href='$ROOT/tree?ci=trunk&type=tree&mtime=1'>Example</a>
83 All files for the latest check-in on a branch (trunk) sorted by
84 last modification time.
85
86 * <a target='_blank' class='exbtn'
87 href='$ROOT/fileage?name=svn-import'>Example</a>
88 Age of all files in the latest checking for branch "svn-import".
89
90 * <a target='_blank' class='exbtn'
91 href='$ROOT/brlist'>Example</a>
92 Table of branches. (Click on column headers to sort.)
93
94 * <a target='_blank' class='exbtn'
95 href='$ROOT/stat'>Example</a>
96 Overall repository status.
97
98 * <a target='_blank' class='exbtn'
99 href='$ROOT/reports?type=ci&view=byuser'>Example</a>
100 Number of check-ins per committer.
101
102 * <a target='_blank' class='exbtn'
103 href='$ROOT/reports?view=byfile'>Example</a>
104 Number of check-ins for each source file.
105 (Click on column headers to sort.)
106
107 * <a target='_blank' class='exbtn'
108 href='$ROOT/blame?checkin=5260fbf63287&filename=src/rss.c&limit=-1'>
109 Example</a>
110 Most recent change to each line of a particular source file in a
111 particular check-in.
112
113 * <a target='_blank' class='exbtn'
114 href='$ROOT/taglist'>Example</a>
115 List of tags on check-ins.
116
117 * <a target='_blank' class='exbtn'
118 href='$ROOT/bigbloblist'>Example</a>
119 The largest objects in the repository.
120
121 * <a target='_blank' class='exbtn'
122 href='$ROOT/hash-collisions'>Example</a>
123 SHA1 prefix collisions
124

Keyboard Shortcuts

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