From b5c2a9b0430b3e5b36386ecc9d39b93c20bd3aa2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 15 Apr 2019 12:59:08 +0100 Subject: [PATCH] [Minor] Use tables in Markdown toc --- doc/doxydown/doxydown.pl | 9 ++++++--- 1 file 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($_); } -- 2.39.5