1. 28 12月, 2016 1 次提交
  2. 14 12月, 2016 1 次提交
  3. 30 11月, 2016 2 次提交
    • J
      doc: Sphinxify the tracepoint docbook · d6ba7a9c
      Jonathan Corbet 提交于
      Convert the tracepoint docbook template to RST and add it to the core-api
      manual.  No changes to the actual text beyond the mechanical formatting
      conversion.
      
      Cc: Jason Baron <jbaron@redhat.com>
      Cc: William Cohen <wcohen@redhat.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      d6ba7a9c
    • J
      doc: Convert the debugobjects DocBook template to sphinx · 93dc3a11
      Jonathan Corbet 提交于
      A couple of the most minor heading tweaks, otherwise no changes to the text
      itself beyond the mechanical conversion.
      
      Note that the inclusion of the kerneldoc comments from the source has never
      worked, since exported symbols were asked for and none of those functions
      are exported to modules.  It doesn't work here either :)
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      93dc3a11
  4. 17 11月, 2016 1 次提交
  5. 11 11月, 2016 2 次提交
  6. 08 11月, 2016 1 次提交
  7. 12 10月, 2016 1 次提交
  8. 23 8月, 2016 2 次提交
  9. 15 8月, 2016 1 次提交
    • M
      doc-rst: generic way to build only sphinx sub-folders · 606b9ac8
      Markus Heiser 提交于
      Add a generic way to build only a reST sub-folder with or
      without a individual *build-theme*.
      
      * control *sub-folders* by environment SPHINXDIRS
      * control *build-theme* by environment SPHINX_CONF
      
      Folders with a conf.py file, matching $(srctree)/Documentation/*/conf.py
      can be build and distributed *stand-alone*. E.g. to compile only the
      html of 'media' and 'gpu' folder use::
      
        make SPHINXDIRS="media gpu" htmldocs
      
      To use an additional sphinx-build configuration (*build-theme*) set the
      name of the configuration file to SPHINX_CONF. E.g. to compile only the
      html of 'media' with the *nit-picking* build use::
      
        make SPHINXDIRS=media SPHINX_CONF=conf_nitpick.py htmldocs
      
      With this, the Documentation/conf.py is read first and updated with the
      configuration values from the Documentation/media/conf_nitpick.py.
      Signed-off-by: NMarkus Heiser <markus.heiser@darmarIT.de>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      606b9ac8
  10. 05 8月, 2016 1 次提交
  11. 29 7月, 2016 1 次提交
  12. 10 7月, 2016 1 次提交
  13. 23 6月, 2016 1 次提交
  14. 21 6月, 2016 1 次提交
  15. 30 5月, 2016 1 次提交
    • J
      Documentation/sphinx: add basic working Sphinx configuration and build · 22cba31b
      Jani Nikula 提交于
      Add basic configuration and makefile to build documentation from any
      .rst files under Documentation using Sphinx. For starters, there's just
      the placeholder index.rst.
      
      At the top level Makefile, hook Sphinx documentation targets alongside
      (but independent of) the DocBook toolchain, having both be run on the
      various 'make *docs' targets.
      
      All Sphinx processing is placed into Documentation/Makefile.sphinx. Both
      that and the Documentation/DocBook/Makefile are now expected to handle
      all the documentation targets, explicitly ignoring them if they're not
      relevant for that particular toolchain. The changes to the existing
      DocBook Makefile are kept minimal.
      
      There is graceful handling of missing Sphinx and rst2pdf (which is
      needed for pdf output) by checking for the tool and python module,
      respectively, with informative messages to the user.
      
      If the Read the Docs theme (sphinx_rtd_theme) is available, use it, but
      otherwise gracefully fall back to the Sphinx default theme, with an
      informative message to the user, and slightly less pretty HTML output.
      
      Sphinx can now handle htmldocs, pdfdocs (if rst2pdf is available),
      epubdocs and xmldocs targets. The output documents are written into per
      output type subdirectories under Documentation/output.
      
      Finally, you can pass options to sphinx-build using the SPHINXBUILD make
      variable. For example, 'make SPHINXOPTS=-v htmldocs' for more verbose
      output from Sphinx.
      
      This is based on the original work by Jonathan Corbet, but he probably
      wouldn't recognize this as his own anymore.
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      22cba31b
  16. 21 11月, 2015 3 次提交
  17. 16 10月, 2015 1 次提交
    • D
      drm/doc: Rename docbook to gpu.tmpl · 3a4579b4
      Daniel Vetter 提交于
      DRM is a lot more than a direct rendering manager nowadays, and there's
      also a bunch of things worth documenting for gpu driver developers
      outside of drivers/gpu/drm, like vgaarb, vga_switcheroo or the various
      hardware buses like host1x and ipu-v3.
      
      To avoid further confusion let's rename the top-level to reflect
      reality.
      
      And yes I'm already looking forward to when we need to replace the G
      in GPU with a * ;-)
      
      Inspired by a thread with Lukas since he refused to include the
      vga_switcheroo docs into the drm docs because it's not drm.
      
      Cc: Lukas Wunner <lukas@wunner.de>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      [Lukas: Drop BUG() easter egg in i915_gem_execbuffer.c spotted by Jani
      and fix typos in commit message.]
      Signed-off-by: NLukas Wunner <lukas@wunner.de>
      Acked-by: NDave Airlie <airlied@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      3a4579b4
  18. 28 9月, 2015 1 次提交
    • B
      DocBook: Use a fixed encoding for output · b479bfd0
      Ben Hutchings 提交于
      Currently the encoding of documents generated by DocBook depends on
      the current locale.  Make the output reproducible independently of
      the locale, by setting the encoding to UTF-8 (LC_CTYPE=C.UTF-8) by
      preference, or ASCII (LC_CTYPE=C) as a fallback.
      
      LC_CTYPE can normally be overridden by LC_ALL, but the top-level
      Makefile unsets that.
      Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
      [jc: added check-lc_ctype to .gitignore]
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      b479bfd0
  19. 17 8月, 2015 1 次提交
    • D
      scripts/kernel-doc: Adding cross-reference links to html documentation. · 5699f871
      Danilo Cesar Lemes de Paula 提交于
      Functions, Structs and Parameters definitions on kernel documentation
      are pure cosmetic, it only highlights the element.
      
      To ease the navigation in the documentation we should use <links> inside
      those tags so readers can easily jump between methods directly.
      
      This was discussed in 2014[1] and is implemented by getting a list
      of <refentries> from the DocBook XML to generate a database. Then it looks
      for <function>,<structnames> and <paramdef> tags that matches the ones in
      the database. As it only links existent references, no broken links are
      added.
      
      [1] - lists.freedesktop.org/archives/dri-devel/2014-August/065404.html
      Signed-off-by: NDanilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: Stephan Mueller <smueller@chronox.de>
      Cc: Michal Marek <mmarek@suse.cz>
      Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
      Cc: dri-devel <dri-devel@lists.freedesktop.org>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      5699f871
  20. 15 8月, 2015 1 次提交
    • B
      DocBook: Fix non-determinstic installation of duplicate man pages · 9ed71e7a
      Ben Hutchings 提交于
      Some kernel-doc sections are included in multiple DocBook files.  This
      means the mandocs target will generate the same manual page multiple
      times with different metadata (author name/address and manual title,
      taken from the including DocBook file).  If it's invoked in a parallel
      build, the output is non-determinstic.
      
      Build the manual pages in a separate subdirectory per DocBook file,
      then sort and de-duplicate when installing them (which is serialised).
      Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
      [jc: fixed conflicts with the docs tree]
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      9ed71e7a
  21. 08 8月, 2015 1 次提交
  22. 07 8月, 2015 1 次提交
  23. 24 7月, 2015 1 次提交
  24. 11 7月, 2015 2 次提交
    • B
      DocBook: Avoid building man pages repeatedly and inconsistently · b44158b1
      Ben Hutchings 提交于
      Some kernel-doc sections are included in multiple DocBook files.  This
      means the mandocs target will generate the same manual page multiple
      times with different metadata (author name/address and manual title,
      taken from the including DocBook file).  If it's invoked in a parallel
      build, the output is nondeterminstic.
      
      For each section that is duplicated, mark the less specific manual's
      inclusion as 'extra' and exclude it during conversion to manual pages.
      Use xmlif for this, as that is bundled with xmlto which we already
      use.
      
      I would have preferred to use more conventional markup for this, but
      each of the following approaches failed:
      
      1. Wrap the extra inclusions with a new element and add a template to
         the stylesheet to include/exclude them.  Unfortunately DocBook XSL
         doesn't seem to support foreign elements at an intermediate level
         in the document tree.
      2. Use DocBook profiling.  This works but requires passing an absolute
         path to the profile stylesheet to xmlto, so it's not portable.
      3. Use SGML marked sections.  docbook2x can handle these but xmlto
         chokes on them.
      Reported-by: NJérémy Bobbio <lunar@debian.org>
      Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      b44158b1
    • B
      DocBook: Don't store mtime (or name) in compressed man pages · 32c1735c
      Ben Hutchings 提交于
      The mtime on a man page is the build time.  As gzip stores the mtime
      and original name in the compressed file by default, this makes
      compressed man pages unreproducible.  Neither of these are important
      metadata in this case, so turn this off.
      Reported-by: NJérémy Bobbio <lunar@debian.org>
      Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      32c1735c
  25. 29 1月, 2015 1 次提交
  26. 13 11月, 2014 1 次提交
  27. 13 5月, 2014 1 次提交
  28. 01 4月, 2014 1 次提交
  29. 30 3月, 2014 1 次提交
  30. 15 3月, 2014 2 次提交
  31. 08 2月, 2014 1 次提交
  32. 02 12月, 2013 2 次提交