summaryrefslogtreecommitdiff
path: root/Documentation/sphinx/post_convert.sed
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2017-06-23 14:17:38 -0600
committerJonathan Corbet <corbet@lwn.net>2017-06-23 14:17:38 -0600
commit52b3f239bb692d9b3a68461798fb15c011e4108e (patch)
treef751570b8af26c01210f3a91045bf349ccc2dc25 /Documentation/sphinx/post_convert.sed
parent61ca5fd1927522b36d00e30c3523f2a03faf49fa (diff)
downloadlwn-52b3f239bb692d9b3a68461798fb15c011e4108e.tar.gz
lwn-52b3f239bb692d9b3a68461798fb15c011e4108e.zip
Docs: clean up some DocBook loose ends
There were a few bits and pieces left over from the now-disused DocBook toolchain; git rid of them. Reported-by: Markus Heiser <markus.heiser@darmarit.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sphinx/post_convert.sed')
-rw-r--r--Documentation/sphinx/post_convert.sed23
1 files changed, 0 insertions, 23 deletions
diff --git a/Documentation/sphinx/post_convert.sed b/Documentation/sphinx/post_convert.sed
deleted file mode 100644
index 392770bac53b..000000000000
--- a/Documentation/sphinx/post_convert.sed
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Unescape.
-#
-s/$bq/`/g
-s/$lt/</g
-s/$gt/>/g
-#
-# pandoc thinks that both "_" needs to be escaped. Remove the extra
-# backslashes.
-#
-s/\\_/_/g
-#
-# Unwrap docproc directives.
-#
-s/^``DOCPROC: !E\(.*\)``$/.. kernel-doc:: \1\n :export:/
-s/^``DOCPROC: !I\(.*\)``$/.. kernel-doc:: \1\n :internal:/
-s/^``DOCPROC: !F\([^ ]*\) \(.*\)``$/.. kernel-doc:: \1\n :functions: \2/
-s/^``DOCPROC: !P\([^ ]*\) \(.*\)``$/.. kernel-doc:: \1\n :doc: \2/
-s/^``DOCPROC: \(!.*\)``$/.. WARNING: DOCPROC directive not supported: \1/
-#
-# Trim trailing whitespace.
-#
-s/[[:space:]]*$//