doc-dst: parse-headers: highlight deprecated comments
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 09:31:21 +0000 (06:31 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 09:36:46 +0000 (06:36 -0300)
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>
Documentation/sphinx/parse-headers.pl

index ec9537ef586fc5c3a844beb4ab34e467738e9cd5..59f2c90f69422df622e36370a0506c2d3b9612dc 100755 (executable)
@@ -196,6 +196,8 @@ $data =~ s/\n\s+\n/\n\n/g;
 #
 $data =~ s,([\_\`\*\<\>\&\\\\:\/]),\\$1,g;
 
+$data =~ s,DEPRECATED,**DEPRECATED**,g;
+
 #
 # Add references
 #