1. 05 7月, 2016 1 次提交
    • M
      doc-rst: linux_tv: avoid using c:func:: · 760c7010
      Mauro Carvalho Chehab 提交于
      Using auto-generated links is dangerous, as there are multiple
      definitions for syscalls (at least one on each book part).
      
      So, reference them by their explicit reference.
      
      I used this small script to help writing this patch:
      
      for i in $(git grep -l "c:func:"); do perl -ne 's/\:c\:func:\`(open|close|read|poll|write|select|mmap|munmap|ioctl)\(\)`/:ref:`$1() <func-$1>`/; print $_' < $i >a && mv a $i; done
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      760c7010
  2. 04 7月, 2016 38 次提交
  3. 03 7月, 2016 1 次提交
    • M
      doc-rst: linux_tv: Error codes should be const · cdb4af0f
      Mauro Carvalho Chehab 提交于
      All error codes should be const. Most are, but there are
      lots of places where we forgot to add <constant> at the DocBook.
      
      Fix those via this small script:
      	for i in $(git grep -lE "\s+E[A-Z]+\b" Documentation/linux_tv/); do perl -ne 's,([^\`])\b(E[A-Z]+)\b,\1``\2``,g; print $_' <$i >a && mv a $i; done
      
      As there are false positives, we needed to merge only the changes
      that make sense, skipping the c blocks and skipping things like
      EDID, EN, ETS that were also converted by the above code.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      cdb4af0f