From: Anna-Maria Behnsen <anna-maria@linutronix.de>
To: Jonathan Corbet <corbet@lwn.net>, linux-doc@vger.kernel.org
Subject: Re: Help required - kernel-doc, code block and backslash
Date: Wed, 17 Jan 2024 12:19:27 +0100 [thread overview]
Message-ID: <871qagb41s.fsf@somnus> (raw)
In-Reply-To: <87jzo9b09p.fsf@meer.lwn.net>
Jonathan Corbet <corbet@lwn.net> writes:
> Anna-Maria Behnsen <anna-maria@linutronix.de> writes:
[...]
>> When using the kernel-doc 'identifiers' option, is there a way to use
>> wildcards or a easy way to enable wildcards? Something like this:
>>
>> .. kernel-doc:: include/linux/jiffies.h
>> :identifiers: time_*
>
> Not currently. That would be useful, though, and easy enough to add.
> We just need to decide whether we want filename-glob matching, or proper
> regexes...
>
Maybe I'm on the wrong track (definitely possible as I am a
scripting/tooling amateur), but I thought identifiers option takes a
list of functions or types and not filenames?
In case the filename-glob matching is this what I would call wildcard
matching, then I would propose to enable this for the existing
option. In case regexes are required as well, maybe another option like
'[no-]identifiers-regex' could be introduced.
Thanks,
Anna-Maria
next prev parent reply other threads:[~2024-01-17 11:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-15 18:36 Help required - kernel-doc, code block and backslash Anna-Maria Behnsen
2024-01-15 19:38 ` Jonathan Corbet
2024-01-15 20:16 ` Matthew Wilcox
2024-01-16 9:53 ` Anna-Maria Behnsen
2024-01-15 20:35 ` Vegard Nossum
2024-01-16 16:55 ` Anna-Maria Behnsen
2024-01-16 18:28 ` Jonathan Corbet
2024-01-17 11:19 ` Anna-Maria Behnsen [this message]
2024-01-17 15:22 ` Jonathan Corbet
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=871qagb41s.fsf@somnus \
--to=anna-maria@linutronix.de \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.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.