Skip to contentSkip to conversation

docs: expand docs/INDEX, sort html index by title rather than filename

PATCH In review Ian Campbell 2 participants 2 messages Mar 26, 2012 – Apr 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: expand docs/INDEX, sort html index by title rather than filename

# HG changeset patch
# User Ian Campbell <[email protected]>
# Date 1332752860 -3600
# Node ID d8e15dc99bf307bd0ae0b042f1d50409b9f26386
# Parent 4bd752a4cdf323c41c50f8cd6286f566d67adeae
docs: expand docs/INDEX, sort html index by title rather than filename

docs/INDEX +17 -0
diff -r 4bd752a4cdf3 -r d8e15dc99bf3 docs/INDEX
@@ -5,3 +5,20 @@ man				Man Pages
 misc				Miscellaneous Documentation
 misc/hvm-emulated-unplug	Xen HVM emulated device unplug protocol
 misc/console			Xen PV Console notes
+misc/xen-command-line		Xen Hypervisor Command Line Options
+misc/crashdb			Xen crash debugger notes
+misc/grant-tables		A Rough Introduction to Using Grant Tables
+misc/kexec_and_kdump		Kexec and Kdump for Xen
+misc/tscmode			TSC Mode HOWTO
+misc/vbd-interface		Xen Guest Disk (VBD) Interface
+misc/xenstore			Xenstore protocol specification
+misc/xl-disk-configuration	XL Disk Configuration
+misc/xl-network-configuration	XL Network Configuration
+misc/distro_mapping		Distro Directory Layouts
+misc/dump-core-format		Xen Core Dump Format
+misc/sedf_scheduler_mini-HOWTO	sEDF Mini HOWTO
+misc/vtd			VT-d HOWTO
+misc/vtpm			Virtual TPM
+misc/xen-error-handling		Xen Error Handling
+misc/xenpaging			Xen Paging
+misc/xsm-flask			XSM/FLASK Configuration
docs/gen-html-index +1 -1
diff -r 4bd752a4cdf3 -r d8e15dc99bf3 docs/gen-html-index
@@ -79,7 +79,7 @@ sub make_link ($$) {
 sub make_links ($$@) {
     my ($dir,$base,@docs) = @_;
     my $idx = '';
-    foreach my $of (sort { $a cmp $b } @docs) {
+    foreach my $of (sort { make_linktext($a) cmp make_linktext($b) } @docs) {
         $idx .= make_link($of,$base);
     }
     return $idx;
#1 lore raw

Ian Campbell writes ("[Xen-devel] [PATCH DOCDAY] docs: expand docs/INDEX, sort html index by title rather than filename"):

Quoted 1 line

docs: expand docs/INDEX, sort html index by title rather than filename