linux/Documentation/media
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
..
dvb-drivers [media] doc-rst: Fix license for the media books 2016-07-23 08:03:24 -03:00
kapi [media] docs-rst: simplify c:type: cross references 2016-09-09 09:54:54 -03:00
media_api_files [media] docs-rst: re-generate typical_media_device.pdf 2016-08-22 10:06:06 -03:00
uapi [media] docs-rst: fix cross-references for videodev2.h 2016-09-09 09:57:23 -03:00
v4l-drivers [media] cx23885: Add support for Hauppauge WinTV quadHD ATSC version 2016-08-24 16:20:16 -03:00
audio.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
ca.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
cec.h.rst.exceptions [media] docs-rst: fix cec bad cross-references 2016-09-09 09:54:21 -03:00
conf_nitpick.py [media] v4l2-ioctl.h: document the remaining functions 2016-09-09 09:38:36 -03:00
conf.py doc-rst: define PDF's of the media folder 2016-09-01 08:49:33 -06:00
dmx.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
frontend.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
index.rst [media] index.rst: Fix LaTeX error in interactive mode on Sphinx 1.4.x 2016-08-22 21:23:59 -03:00
intro.rst [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
lirc.h.rst.exceptions [media] doc-rst: Fix LIRC_GET_FEATURES references 2016-07-11 11:47:39 -03:00
Makefile Documentation/sphinx: build the media intermediate rst files for all outputs 2016-08-12 15:24:25 -06:00
media_kapi.rst [media] docs-rst: move cec kAPI documentation to the media book 2016-08-22 10:26:17 -03:00
media_uapi.rst [media] doc-rst: better organize the media books 2016-07-23 08:03:24 -03:00
media.h.rst.exceptions [media] doc-rst: add media.h header to media contrller 2016-07-09 09:49:05 -03:00
net.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
video.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
videodev2.h.rst.exceptions [media] docs-rst: fix cross-references for videodev2.h 2016-09-09 09:57:23 -03:00