summaryrefslogtreecommitdiff
path: root/Documentation/sphinx/convert_template.sed
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2017-06-23 23:17:38 +0300
committerJonathan Corbet <corbet@lwn.net>2017-06-23 23:17:38 +0300
commit52b3f239bb692d9b3a68461798fb15c011e4108e (patch)
treef751570b8af26c01210f3a91045bf349ccc2dc25 /Documentation/sphinx/convert_template.sed
parent61ca5fd1927522b36d00e30c3523f2a03faf49fa (diff)
downloadlinux-52b3f239bb692d9b3a68461798fb15c011e4108e.tar.xz
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/convert_template.sed')
-rw-r--r--Documentation/sphinx/convert_template.sed18
1 files changed, 0 insertions, 18 deletions
diff --git a/Documentation/sphinx/convert_template.sed b/Documentation/sphinx/convert_template.sed
deleted file mode 100644
index c1503fcca4ec..000000000000
--- a/Documentation/sphinx/convert_template.sed
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Pandoc doesn't grok <function> or <structname>, so convert them
-# ahead of time.
-#
-# Use the following escapes to pass through pandoc:
-# $bq = "`"
-# $lt = "<"
-# $gt = ">"
-#
-s%<function>\([^<(]\+\)()</function>%:c:func:$bq\1()$bq%g
-s%<function>\([^<(]\+\)</function>%:c:func:$bq\1()$bq%g
-s%<structname>struct *\([^<]\+\)</structname>%:c:type:$bqstruct \1 $lt\1$gt$bq%g
-s%struct <structname>\([^<]\+\)</structname>%:c:type:$bqstruct \1 $lt\1$gt$bq%g
-s%<structname>\([^<]\+\)</structname>%:c:type:$bqstruct \1 $lt\1$gt$bq%g
-#
-# Wrap docproc directives in para and code blocks.
-#
-s%^\(!.*\)$%<para><code>DOCPROC: \1</code></para>%