mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-07 13:53:24 +00:00
doc-dst: parse-headers: highlight deprecated comments
When something is deprecated, highlight it, as we want it to be clearer to the reader. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
6fe79d1ede
commit
7d95fa8d66
@ -196,6 +196,8 @@ $data =~ s/\n\s+\n/\n\n/g;
|
||||
#
|
||||
$data =~ s,([\_\`\*\<\>\&\\\\:\/]),\\$1,g;
|
||||
|
||||
$data =~ s,DEPRECATED,**DEPRECATED**,g;
|
||||
|
||||
#
|
||||
# Add references
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user