Index: www/mkindex.tcl
==================================================================
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -63,17 +63,26 @@
tickets.wiki {The Fossil Ticket System}
theory1.wiki {Thoughts On The Design Of The Fossil DVCS}
webui.wiki {The Fossil Web Interface}
wikitheory.wiki {Wiki In Fossil}
}
+
+proc emit_links {ch links} {
+ foreach entry $links {
+ foreach {title file} $entry break
+ puts $ch "
"
puts $out {
@@ -100,14 +110,18 @@
Compiling and installing Fossil
License
Jim Schimpf's
book
Command-line help
+
+Canonical Index:
+(list of unique documents)
+}
+emit_links $out $canonindex
+puts $out {
Permuted Index:
+(ordered by keywords - multiple entries linking to the same document)
}
-foreach entry $permindex {
- foreach {title file} $entry break
- puts $out "- $title
"
-}
+emit_links $out $permindex
puts $out "
"
Index: www/permutedindex.html
==================================================================
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -13,13 +13,74 @@