From: Martin Waitz <tali@admingilde.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Lukas Jelinek <info@kernel-api.org>,
"Randy.Dunlap" <rdunlap@xenotime.net>,
linux-kernel@vger.kernel.org
Subject: Re: Kernel API Reference Documentation
Date: Wed, 28 Jun 2006 14:05:36 +0200 [thread overview]
Message-ID: <20060628120536.GF19868@admingilde.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0606280543270.32286@gandalf.stny.rr.com>
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
hoi :)
when I once experimented with doxygen, I used the following script to
convert some kerneldoc comments to doxygen syntax:
#!/usr/bin/perl -wpi
use strict;
BEGIN { $::state = 0; }
if ($::state == 0) {
$::state = 1 if /\/\*\*/;
} elsif ($::state == 1) {
s/(\*\s+)(struct\s+|enum\s+)?\S+ - /$1/;
s/$/\./ unless /\.$/;
$::state = 2;
} elsif ($::state == 2) {
s/(\*\s+)\@(\w+):\s+(.*)/$1\\param $2 $3./;
s/(\s+)[%&\@](\S+)/$1$2/g;
}
s/\.\.$/./;
$::state = 0 if /\*\//;
--
Martin Waitz
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-06-28 12:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-27 19:22 Kernel API Reference Documentation Lukas Jelinek
2006-06-27 20:22 ` Randy.Dunlap
2006-06-27 20:42 ` Lukas Jelinek
2006-06-27 21:38 ` Randy.Dunlap
2006-06-28 9:44 ` Steven Rostedt
2006-06-28 10:01 ` Andreas Schwab
2006-06-28 12:05 ` Martin Waitz [this message]
2006-06-28 12:26 ` Lukas Jelinek
2006-06-28 11:47 ` Petr Tesarik
2006-06-28 12:22 ` Lukas Jelinek
2006-06-28 16:09 ` Randy.Dunlap
2006-06-28 16:13 ` Petr Tesarik
2006-06-28 16:36 ` Randy.Dunlap
2006-06-28 16:41 ` Lukas Jelinek
2006-06-28 16:50 ` Randy.Dunlap
2006-06-28 17:49 ` Lukas Jelinek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060628120536.GF19868@admingilde.org \
--to=tali@admingilde.org \
--cc=info@kernel-api.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.net \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.