18 Jul, 2016

8 commits

  • There are several documentation stuff under Documentation/dvb.

    Move them to Documentation/media/dvb-drivers and rename them to
    rst, as they'll soon be converted to rst files.

    No changes at the documentation.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • The conversion from DocBook required some fixes:

    - Now, the C files with the exported symbols also need to be
    added. So, all headers need to be included twice: one to
    get the structs/enums/.. and another one for the functions;

    - Notes should use the ReST tag, as kernel-doc doesn't
    recognizes it anymore;

    - Identation needs to be fixed, as ReST uses it to identify
    when a format "tag" ends.

    - Fix the cross-references at the media controller description.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • There were lots of issues at the media controller side,
    after the conversion:

    - Some documentation at the header files weren't using the
    kernel-doc start block;

    - Now, the C files with the exported symbols also need to be
    added. So, all headers need to be included twice: one to
    get the structs/enums/.. and another one for the functions;

    - Notes should use the ReST tag, as kernel-doc doesn't
    recognizes it anymore;

    - Identation needs to be fixed, as ReST uses it to identify
    when a format "tag" ends.

    - Fix the cross-references at the media controller description.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • The conversion from DocBook lead into some conversion issues,
    basically due to the lack of proper support at kernel-doc.

    So, address them:

    - Now, the C files with the exported symbols also need to be
    added. So, all headers need to be included twice: one to
    get the structs/enums/.. and another one for the functions;

    - Notes should use the ReST tag, as kernel-doc doesn't
    recognizes it anymore;

    - Identation needs to be fixed, as ReST uses it to identify
    when a format "tag" ends.

    - kernel-doc doesn't escape things like *pointer, so we
    need to manually add a escape char before it.

    - On some cases, kernel-doc conversion requires violating
    the 80-cols, as otherwise it won't properly parse the
    source code.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • The kernel-doc script is now broken if it doesn't find all
    exported symbols documented.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Just like the uAPI book is split into parts, let's split the
    kAPI documentation. That should make easier to maintain, and
    will split the final documentation into smaller html files.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Fix the paragraph identation for the media controller
    headers.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Move the contents of the media section at
    DocBooks/DocBook/device-drivers.tmpl to a new ReST book.

    For now, the contents is kept as-is. Next patches will fix
    the warnings and add cross-references that were removed due to
    the conversion.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

15 Jul, 2016

2 commits

  • The rst2pdf tool is a very broken toolchain, with is not capable
    of parsing complex documents. As such, it doesn't build the
    media book, failing with:

    [ERROR] pdfbuilder.py:130 too many values to unpack

    (using rst2pdf version 0.93.dev-r0 and Sphinx version 1.4.5)

    So, make it build only the books we know that are safe to build.

    Signed-off-by: Mauro Carvalho Chehab

    --

    Btw, with the standard Sphinx version shipped on Fedora 24 (Sphinx
    1.3.1), rst2pdf doesn't build even the simple kernel-documentation,
    failing with this error:
    writing Kernel... [ERROR] pdfbuilder.py:130 list index out of range

    This is a known bug:
    https://github.com/sphinx-doc/sphinx/issues/1844

    So, maybe we should just disable pdf generation from RST for good,
    as I suspect that maintaining it with a broken toolchain will be a
    big headache.

    Mauro Carvalho Chehab
     
  • * 'docs-next' of git://git.lwn.net/linux:
    doc-rst: add an option to ignore DocBooks when generating docs
    workqueue: Fix a typo in workqueue.txt
    Doc: ocfs: Fix typo in filesystems/ocfs2-online-filecheck.txt
    Documentation/sphinx: skip build if user requested specific DOCBOOKS
    Documentation: add cleanmediadocs to the documentation targets

    Mauro Carvalho Chehab
     

13 Jul, 2016

9 commits


12 Jul, 2016

18 commits


11 Jul, 2016

3 commits