1
0
Files
linux/Documentation
Mauro Carvalho Chehab 5c04dceaa1 docs: ioctl: convert to ReST
Rename the iio documentation files to ReST, add an
index for them and adjust in order to produce a nice html
output via the Sphinx build system.

The cdrom.txt and hdio.txt have their own particular syntax.
In order to speedup the conversion, I used a small ancillary
perl script:

	my $d;
	$d .= $_ while(<>);
	$d =~ s/(\nCDROM\S+)\s+(\w[^\n]*)/$1\n\t$2\n/g;
	$d =~ s/(\nHDIO\S+)\s+(\w[^\n]*)/$1\n\t$2\n/g;
	$d =~ s/(\n\s*usage:)[\s\n]*(\w[^\n]*)/$1:\n\n\t  $2\n/g;
	$d =~ s/(\n\s*)(E\w+[\s\n]*\w[^\n]*)/$1- $2/g;
	$d =~ s/(\n\s*)(inputs|outputs|notes):\s*(\w[^\n]*)/$1$2:\n\t\t$3\n/g;
	print $d;

It basically add blank lines on a few interesting places. The
script is not perfect: still several things require manual work,
but it saved quite some time doing some obvious stuff.

At its new index.rst, let's add a :orphan: while this is not linked to
the main index.rst file, in order to avoid build warnings.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-07-15 09:20:26 -03:00
..
2019-07-15 09:20:25 -03:00
2019-06-28 09:04:14 -06:00
2019-06-08 13:42:11 -06:00
2019-06-20 14:08:49 -06:00
2019-07-15 09:20:25 -03:00
2019-06-22 10:41:57 +01:00
2019-07-02 10:19:34 +02:00
2019-07-15 09:20:26 -03:00
2019-05-31 11:13:10 +02:00
2019-07-15 09:20:25 -03:00
2019-06-28 20:57:31 +02:00
2019-07-15 09:20:25 -03:00
2019-06-27 07:35:47 -04:00
2019-07-15 09:20:26 -03:00
2019-07-15 09:20:25 -03:00
2019-07-15 09:20:25 -03:00
2019-07-15 09:20:25 -03:00
2019-05-08 17:13:35 -07:00
2019-04-08 14:13:43 +07:00
2019-07-15 09:20:25 -03:00
2019-07-15 09:20:26 -03:00
2019-06-26 11:39:11 +02:00