linux/Documentation/media/uapi
Mauro Carvalho Chehab 56683d7dea [media] docs-rst: fix cross-references for videodev2.h
There are several broken references there, due to the conversion to
C domain. Fix them using this shell script and manually adjust what's
broken:

	# funcs is a file with the broken functions/references
	for i in $(cat funcs|sort|uniq|perl -ne 'print "$1\n" if (m/(\S+)$/)'); do
		i=${i//-/_}
		echo $i
		j=${i//_/-}
		for k in $(git grep -l "_$j:" Documentation/); do
			sed s,\_$j\:,"c\:type\:\: $i", <$k >a && mv a $k
		done
		for k in $(git grep -l "$j" Documentation/media/*.exceptions); do
			sed s,$j,":c\:type\:\`$i\`", <$k >a && mv a $k
		done
		for k in $(git grep -l "$j" Documentation/); do
			sed "s,:ref:\`$i <$j>\`,:c:type:\`$i\`," <$k >a && mv a $k
			sed "s,:ref:\`$j\`,:c:type:\`$i\`," <$k >a && mv a $k
			sed -E "s,:ref:\`(.*)<$j>\`,:c:type:\`\1<$i>\`," <$k >a && mv a $k
		done
		for k in $(git grep -l "<$j>" include/media); do
			sed -E "s,:ref:\`(.*)<$j>\`,enum \&$i," <$k >a && mv a $k
		done
	done

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-09 09:57:23 -03:00
..
cec [media] fix clock_gettime cross-references 2016-09-09 09:55:43 -03:00
dvb [media] docs-rst: simplify c:type: cross references 2016-09-09 09:54:54 -03:00
mediactl [media] docs-rst: convert uAPI structs to C domain 2016-09-09 09:34:01 -03:00
rc [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
v4l [media] docs-rst: fix cross-references for videodev2.h 2016-09-09 09:57:23 -03:00
fdl-appendix.rst
gen-errors.rst [media] gen-errors.rst fix error table column limits 2016-08-22 10:31:14 -03:00