1. 05 7月, 2016 2 次提交
  2. 04 7月, 2016 2 次提交
    • M
      doc-rst: linux_tv: Fix some occurences of :sub: · eba9e91c
      Mauro Carvalho Chehab 提交于
      The right way to use it seems to do suscript is to use
      this pattern: "\ :sub:"
      
      Make sure all places of the media document will fit, by
      using this script:
      
      $n=0;
      while (<>) {
      	$n++;
      	$t = $_;
      	@matches = $t =~ m/(..\:sub\:)/g;
      	foreach my $m (@matches) {
      		$m =~ m/(.)(.)(\:sub\:)/;
      		$s1=$1;
      		$s2=$2;
      		$s3=$3;
      		next if (($s1 eq "\\") && ($s2 eq " "));
      		if ($s2 eq " ") {
      			$t =~ s/$s1$s2$s3/$s1\\$s2$s3/;
      			next;
      		}
      		$t =~ s/$s1$s2$s3/$s1$s2\\ $s3/;
      	}
      	print $t;
      }
      
      And running it with:
      
      for i in $(git grep -l sub Documentation/linux_tv/); do ./sub.pl $i >a && mv a $i; done
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      eba9e91c
    • M
      doc-rst: linux_tv: remove trailing comments · 64e49546
      Mauro Carvalho Chehab 提交于
      The conversion script added some comments at the end.
      They point to the original DocBook files, with will be
      removed after the manual fixes. So, they'll be pointing
      to nowere. So, remove those comments.
      
      They'll be forever stored at the Kernel tree. So, if
      someone wants the references, it is just a matter of
      looking at the backlog.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      64e49546
  3. 01 7月, 2016 1 次提交