summaryrefslogtreecommitdiffstats
path: root/Documentation/sphinx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-07 11:31:21 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-07 11:36:46 +0200
commit7d95fa8d667ab515ed25b6e2270723e748c55889 (patch)
tree2c7eb83668e882b279be04a1ce078ed7f59d24b5 /Documentation/sphinx
parentdoc-rst: parse-headers: improve delimiters to detect symbols (diff)
downloadlinux-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-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
#