summaryrefslogtreecommitdiff
path: root/Documentation/sphinx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-07 06:31:21 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-07 06:36:46 -0300
commit7d95fa8d667ab515ed25b6e2270723e748c55889 (patch)
tree2c7eb83668e882b279be04a1ce078ed7f59d24b5 /Documentation/sphinx
parent6fe79d1edea4861d7453915e596cc39a83ddc683 (diff)
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-xDocumentation/sphinx/parse-headers.pl2
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
#