mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-25 11:55:37 +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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue