LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] kernel-doc: include struct short description in title output
@ 2007-02-13 19:10 Randy Dunlap
  2007-02-13 19:18 ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2007-02-13 19:10 UTC (permalink / raw)
  To: johannes; +Cc: lkml, akpm

From: Randy Dunlap <randy.dunlap@oracle.com>

Output of a struct in html mode needs to include the short description
from the struct name line in the output title line.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 scripts/kernel-doc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.20-git7.orig/scripts/kernel-doc
+++ linux-2.6.20-git7/scripts/kernel-doc
@@ -452,7 +452,7 @@ sub output_struct_html(%) {
     my %args = %{$_[0]};
     my ($parameter);
 
-    print "<h2>".$args{'type'}." ".$args{'struct'}."</h2>\n";
+    print "<h2>".$args{'type'}." ".$args{'struct'}. " - " .$args{'purpose'}."</h2>\n";
     print "<b>".$args{'type'}." ".$args{'struct'}."</b> {<br>\n";
     foreach $parameter (@{$args{'parameterlist'}}) {
 	if ($parameter =~ /^#/) {

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-13 19:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-13 19:10 [PATCH] kernel-doc: include struct short description in title output Randy Dunlap
2007-02-13 19:18 ` Johannes Berg
2007-02-13 19:35   ` [PATCH v2] " Randy Dunlap
2007-02-13 19:43     ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).