X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=doc%2Fman-pages%2Fgenerate-html;h=d46c80fbb805adbe6a3313cbe7c09e31201a19ed;hp=13fdff59f1df4fda2e111edb6e7bcdde844e4550;hb=d1d411576cf39c4bc55918df0eb64327718d566c;hpb=d37679f4fdb1b10284046c05d2c7b110b37a4120 diff --git a/doc/man-pages/generate-html b/doc/man-pages/generate-html index 13fdff5..d46c80f 100755 --- a/doc/man-pages/generate-html +++ b/doc/man-pages/generate-html @@ -98,6 +98,7 @@ our $HEADER = <<'EOH'; EOH our %HEADINGS = (1 => 'User Commands', + 3 => 'C Library Functions', 5 => 'Configuration and Data Files', 8 => 'Administrator Commands'); @@ -105,7 +106,7 @@ our %HEADINGS = (1 => 'User Commands', # description, returning that as an array. sub scan_names { my @index; - for my $dir (qw(pod1 pod5 pod8)) { + for my $dir (qw(pod1 pod3 pod5 pod8)) { my $section = $dir; $section =~ s/^pod//; opendir (D, $dir) or die "Cannot open $dir: $!\n"; @@ -122,6 +123,9 @@ sub scan_names { warn "$dir/$file: cannot find NAME section, skipping\n"; } $name =~ s/^(backup|bos|fs|fstrace|kas|pts|symlink|uss|vos)_/$1 /; + if ($section eq '3') { + $name =~ s/^AFS\./AFS::/; + } if ($section eq '5') { $name =~ s/_/ /g; } @@ -137,7 +141,7 @@ sub scan_names { unless (-d 'html') { mkdir ('html', 0755) or die "Cannot create html directory: $!\n"; } -for my $dir (qw(pod1 pod5 pod8)) { +for my $dir (qw(pod1 pod3 pod5 pod8)) { my $section = $dir; $section =~ s/^pod//; mkdir ("html/$section", 0755) unless -d "html/$section";