summaryrefslogtreecommitdiffstats
path: root/doc/kernel-doc
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-31 16:24:21 +0200
committerMartin Mares <mj@ucw.cz>2000-05-31 16:24:21 +0200
commitfcdddff5f3f5c9f2a15377a9dd08f105a3b696a0 (patch)
tree13fc726129118202a1bec54ac336065a74699aab /doc/kernel-doc
parentd1660fd3f38c29739ff36c86c6010d65fb90c608 (diff)
downloadbird-fcdddff5f3f5c9f2a15377a9dd08f105a3b696a0.tar
bird-fcdddff5f3f5c9f2a15377a9dd08f105a3b696a0.zip
Formatting of progdoc works in both HTML and LaTeX. The LaTeX output
still has somewhat weird spacing, but it will be hopefully easy to fix.
Diffstat (limited to 'doc/kernel-doc')
-rwxr-xr-xdoc/kernel-doc8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/kernel-doc b/doc/kernel-doc
index cb28d30..07d1262 100755
--- a/doc/kernel-doc
+++ b/doc/kernel-doc
@@ -524,9 +524,7 @@ sub output_bird {
my %args = %{$_[0]};
my ($parameter, $section);
my $count;
- print "<sect2>Function\n";
-
- print "<p><type>".$args{'functiontype'}."</type>\n";
+ print "<function><p><type>".$args{'functiontype'}."</type>\n";
print "<funcdef>".$args{'function'}."</funcdef>\n";
print "(";
$count = 0;
@@ -539,7 +537,7 @@ sub output_bird {
}
print ")\n";
- print "<sect3>Arguments\n";
+ print "<funcsect>Arguments\n";
print "<p><descrip>\n";
foreach $parameter (@{$args{'parameterlist'}}) {
print "<tagp><type>".$args{'parametertypes'}{$parameter}."</type> <param>".$parameter."</param></tagp>\n";
@@ -551,7 +549,7 @@ sub output_bird {
print "<p>\n";
output_highlight($args{'sections'}{$section});
}
- print "<hrule>\n";
+ print "</function>\n";
}
# output in birddoc