Fix some doc generation problems
This commit is contained in:
parent
ed43806c3b
commit
55c704c119
@ -42,6 +42,13 @@ sub pod_for_usage {
|
||||
my $name = shift;
|
||||
my $usage = shift;
|
||||
|
||||
# Sigh. Fixup the known odd-name applets.
|
||||
$name =~ s/dpkg_deb/dpkg-deb/g;
|
||||
$name =~ s/fsck_minix/fsck.minix/g;
|
||||
$name =~ s/mkfs_minix/mkfs.minix/g;
|
||||
$name =~ s/run_parts/run-parts/g;
|
||||
$name =~ s/start_stop_daemon/start-stop-daemon/g;
|
||||
|
||||
# make options bold
|
||||
my $trivial = $usage->{trivial};
|
||||
$trivial =~ s/(?<!\w)(-\w+)/B<$1>/sxg;
|
||||
@ -78,13 +85,10 @@ sub pod_for_usage {
|
||||
|
||||
return
|
||||
"=item B<$name>".
|
||||
"\n\n" .
|
||||
"$name $trivial".
|
||||
"\n\n" .
|
||||
$full .
|
||||
"\n\n" .
|
||||
$notes .
|
||||
$example.
|
||||
"\n\n$name $trivial\n\n".
|
||||
"$full\n\n" .
|
||||
"$notes" .
|
||||
"$example" .
|
||||
"-------------------------------".
|
||||
"\n\n"
|
||||
;
|
||||
@ -288,4 +292,4 @@ John BEPPU <b@ax9.org>
|
||||
|
||||
=cut
|
||||
|
||||
# $Id: autodocifier.pl,v 1.24 2003/07/14 21:20:48 andersen Exp $
|
||||
# $Id: autodocifier.pl,v 1.25 2004/03/13 08:32:14 andersen Exp $
|
||||
|
@ -64,8 +64,7 @@ Randolph Chung <tausq@debian.org>
|
||||
|
||||
Dave Cinege <dcinege@psychosis.com>
|
||||
|
||||
more(v2), makedevs, dutmp, modularization, auto links file,
|
||||
various fixes, Linux Router Project maintenance
|
||||
more(v2), makedevs, modularization, various fixes
|
||||
|
||||
=for html <br>
|
||||
|
||||
@ -174,4 +173,4 @@ Glenn Engel <glenne@engel.org>
|
||||
|
||||
=cut
|
||||
|
||||
# $Id: busybox_footer.pod,v 1.12 2003/07/14 21:20:48 andersen Exp $
|
||||
# $Id: busybox_footer.pod,v 1.13 2004/03/13 08:32:14 andersen Exp $
|
||||
|
Loading…
Reference in New Issue
Block a user