1. 22 10月, 2016 2 次提交
  2. 09 9月, 2016 3 次提交
    • M
      [media] docs-rst: fix cross-references for videodev2.h · 56683d7d
      Mauro Carvalho Chehab 提交于
      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: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      56683d7d
    • M
      [media] docs-rst: use C domain for enum references on uapi · ffa0441e
      Mauro Carvalho Chehab 提交于
      Change the parse-headers.pl and the corresponding files to use
      the C domain for enum references.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      ffa0441e
    • M
      [media] docs-rst: convert uAPI structs to C domain · e8be7e97
      Mauro Carvalho Chehab 提交于
      instead of declaring the uAPI structs using usual refs, e. g.:
      	.. _foo-struct:
      
      Use the C domain way:
      	.. c:type:: foo_struct
      
      This way, the kAPI documentation can use cross-references to
      point to the uAPI symbols.
      
      That solves about ~100 undefined warnings like:
      	WARNING: c:type reference target not found: foo_struct
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      e8be7e97
  3. 23 7月, 2016 1 次提交
  4. 10 7月, 2016 1 次提交
  5. 08 7月, 2016 1 次提交
  6. 06 7月, 2016 1 次提交
    • M
      doc-rst: v4l2: Rename the V4L2 API title · 62acdf35
      Mauro Carvalho Chehab 提交于
      The V4L2 is the only part of the doc that has the word "Specification"
      and mentions its version on the title.
      
      Having the version there was important in the past, while we were
      getting rid of V4L version 1. But, as v1 is long gone, all it lasts
      is history (with is, btw, covered on the spec). So, no need to keep
      the version on its title.
      
      So, rename it, to be more generic and look like the remaining
      of the document.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      62acdf35
  7. 04 7月, 2016 1 次提交
  8. 02 7月, 2016 3 次提交
  9. 01 7月, 2016 1 次提交