summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-15 12:59:08 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-15 12:59:08 +0100
commitb5c2a9b0430b3e5b36386ecc9d39b93c20bd3aa2 (patch)
tree89ed1b0403c6116144450cfaec67641509be5979 /doc
parentaf11984981e82ce69486d30606214424e244a804 (diff)
downloadrspamd-b5c2a9b0430b3e5b36386ecc9d39b93c20bd3aa2.tar.gz
rspamd-b5c2a9b0430b3e5b36386ecc9d39b93c20bd3aa2.zip
[Minor] Use tables in Markdown toc
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/doxydown/doxydown.pl9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/doxydown/doxydown.pl b/doc/doxydown/doxydown.pl
index 993a8636e..95a6e101c 100755
--- a/doc/doxydown/doxydown.pl
+++ b/doc/doxydown/doxydown.pl
@@ -68,9 +68,9 @@ EOD
my $id = $f->{'id'};
if ($f->{'brief'}) {
- print "* [`$name`](#$id): ". $f->{'brief'} . "\n";
+ print "[`$name`](#$id) | ". $f->{'brief'} . "\n";
} else {
- print "* [`$name`](#$id)\n";
+ print "[`$name`](#$id) | No description\n";
}
}
@@ -93,6 +93,8 @@ EOD
if (scalar(@{ $m->{'functions'} }) > 0) {
print "**Functions**:\n\n";
+ print " Function | Description\n";
+ print "----------|------------\n";
foreach ( @{ $m->{'functions'} } ) {
print_func($_);
}
@@ -102,7 +104,8 @@ EOD
if ($m->{'methods'}) {
if (scalar(@{ $m->{'methods'} }) > 0) {
print "\n\n**Methods**:\n\n";
-
+ print " Method | Description\n";
+ print "----------|------------\n";
foreach ( @{ $m->{'methods'} } ) {
print_func($_);
}