diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-07 11:31:21 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-07 11:36:46 +0200 |
commit | 7d95fa8d667ab515ed25b6e2270723e748c55889 (patch) | |
tree | 2c7eb83668e882b279be04a1ce078ed7f59d24b5 /Documentation/sphinx | |
parent | doc-rst: parse-headers: improve delimiters to detect symbols (diff) | |
download | linux-7d95fa8d667ab515ed25b6e2270723e748c55889.tar.xz linux-7d95fa8d667ab515ed25b6e2270723e748c55889.zip |
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>
Diffstat (limited to 'Documentation/sphinx')
-rwxr-xr-x | Documentation/sphinx/parse-headers.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/sphinx/parse-headers.pl b/Documentation/sphinx/parse-headers.pl index ec9537ef586f..59f2c90f6942 100755 --- a/Documentation/sphinx/parse-headers.pl +++ b/Documentation/sphinx/parse-headers.pl @@ -196,6 +196,8 @@ $data =~ s/\n\s+\n/\n\n/g; # $data =~ s,([\_\`\*\<\>\&\\\\:\/]),\\$1,g; +$data =~ s,DEPRECATED,**DEPRECATED**,g; + # # Add references # |