git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
01525e4
)
DEVEL15-man-page-html-index-underscores-20080713
author
Russ Allbery
<rra@stanford.edu>
Mon, 14 Jul 2008 03:28:00 +0000 (
03:28
+0000)
committer
Russ Allbery
<rra@stanford.edu>
Mon, 14 Jul 2008 03:28:00 +0000 (
03:28
+0000)
LICENSE BSD
Remove underscores from the anchor in the index for all section 5 manual
pages.
(cherry picked from commit
6a322e4eb7e79896e3322e0ace16a6ed99668162
)
doc/man-pages/generate-html
patch
|
blob
|
history
diff --git
a/doc/man-pages/generate-html
b/doc/man-pages/generate-html
index
610a7db
..
e905231
100755
(executable)
--- a/
doc/man-pages/generate-html
+++ b/
doc/man-pages/generate-html
@@
-122,6
+122,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 '5') {
+ $name =~ s/_/ /g;
+ }
my $page = $file;
$page =~ s/\.pod$//;
push (@index, [ $section, $name, $page, $desc ]);