About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / sphinx / tmplcvt


Based on kernel version 4.10.8. Page generated on 2017-04-01 14:44 EST.

1	#!/bin/bash
2	#
3	# Convert a template file into something like RST
4	#
5	# fix <function>
6	# feed to pandoc
7	# fix \_
8	# title line?
9	#
10	
11	in=$1
12	rst=$2
13	tmp=$rst.tmp
14	
15	cp $in $tmp
16	sed --in-place -f convert_template.sed $tmp
17	pandoc -s -S -f docbook -t rst -o $rst $tmp
18	sed --in-place -f post_convert.sed $rst
19	rm $tmp
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog