Update the documentation so examples are autoincluded in the output text.
Fix up docs/busybox.pod with the latest autogenerated output.
-Erik
diff --git a/docs/autodocifier.pl b/docs/autodocifier.pl
index 9e18dc3..e967568 100755
--- a/docs/autodocifier.pl
+++ b/docs/autodocifier.pl
@@ -62,6 +62,11 @@
}
my $full = join("\n", @f1);
+ # prepare notes if they exists
+ my $notes = (defined $usage->{notes})
+ ? "$usage->{notes}\n\n"
+ : "";
+
# prepare example if one exists
my $example = (defined $usage->{example})
? "Example:\n\n$usage->{example}\n\n"
@@ -74,6 +79,7 @@
"\n\n" .
$full .
"\n\n" .
+ $notes .
$example.
"-------------------------------".
"\n\n"
@@ -216,4 +222,4 @@
=cut
-# $Id: autodocifier.pl,v 1.14 2001/03/06 19:25:25 beppu Exp $
+# $Id: autodocifier.pl,v 1.15 2001/03/15 18:14:25 andersen Exp $