1. 29 1月, 2008 2 次提交
  2. 17 10月, 2007 1 次提交
    • R
      kernel-doc: fix doc blocks and html · 6b5b55f6
      Randy Dunlap 提交于
      Johannes Berg reports (Thanks!) that &struct names are not highlighted in
      html output format when they are inside a DOC: block.
      
      DOC: blocks were not escaped thru xml_escape() like other kernel-doc
      comments were.  Fixed that.
      
      However, that left a problem with <p> ($blankline_html) being processed
      thru xml_escape(), converting it to &lt;p&gt;, which isn't good for the
      generated html output (the <p> should remain unchanged), so this patch also
      introduces the notion of "local" kernel-doc meta-characters
      ('\\\\mnemonic:'), which are converted to html just before writing the
      stream to its output file.
      
      Please report any problems that you (anyone) see in "highlighting" in any
      output mode (text, man, html, xml).
      
      Also update copyright to include me.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6b5b55f6
  3. 20 7月, 2007 3 次提交
  4. 10 5月, 2007 1 次提交
  5. 09 5月, 2007 4 次提交
    • B
      kill warnings when building mandocs · 53f049fa
      Borislav Petkov 提交于
      This patch shuts warnings of the sort:
      
      make -C /mnt/samsung_200/sam/kernel/trees/21-rc6/build \
      	KBUILD_SRC=/mnt/samsung_200/sam/kernel/trees/21-rc6 \
      	KBUILD_EXTMOD="" -f /mnt/samsung_200/sam/kernel/trees/21-rc6/Makefile mandocs
      make -f /mnt/samsung_200/sam/kernel/trees/21-rc6/scripts/Makefile.build obj=scripts/basic
      make -f /mnt/samsung_200/sam/kernel/trees/21-rc6/scripts/Makefile.build obj=Documentation/DocBook mandocs
        SRCTREE=/mnt/samsung_200/sam/kernel/trees/21-rc6/ /mnt/samsung_200/sam/kernel/trees/21-rc6/build/scripts/basic/docproc doc /mnt/samsung_200/sam/kernel/trees/21-rc6/Documentation/DocBook/wanbook.tmpl >Documentation/DocBook/wanbook.xml
        if grep -q refentry Documentation/DocBook/wanbook.xml; then xmlto man -m /mnt/samsung_200/sam/kernel/trees/21-rc6/Documentation/DocBook/stylesheet.xsl -o Documentation/DocBook/man Documentation/DocBook/wanbook.xml ; gzip -f Documentation/DocBook/man/*.9; fi
      Note: meta version: No productnumber or alternative     sppp_close
      Note: meta version: No refmiscinfo@class=version        sppp_close
      Note: Writing sppp_close.9
      Note: meta version: No productnumber or alternative     sppp_open
      Note: meta version: No refmiscinfo@class=version        sppp_open
      
      by adding a RefMiscInfo xml tag in the form of the current kernel version
      to the function, struct and enum definitions in files included by
      kernel-doc when building 'mandocs'.  However, the version string appears
      truncated on the manpage due to some constraints in the xml DTD for the man
      header, I believe, for the troff output is truncated too.
      Signed-off-by: NBorislav Petkov <bbpetkov@yahoo.de>
      Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      53f049fa
    • R
      kernel-doc: html mode struct highlights · 3eb014a1
      Randy Dunlap 提交于
      Johannes Berg reported that struct names are not highlighted
      (bold, italic, etc.) in html kernel-doc output.  (Also not in
      text-mode output, but I don't see that changing.)
      
      This patch adds the following:
      - highlight struct names in html output mode
      - highlight environment var. names in html output mode
      - indent struct fields in the original struct layout
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3eb014a1
    • B
      kernel-doc: handle arrays with arithmetic expressions as initializers · 884f2810
      Borislav Petkov 提交于
      In a different approach here's a patch that handles the special case of
      composite arithmetic expressions in array size initializers.  With it,
      prior to pushing the split strings on the @first_arg array, I split the
      keywords before the array name as before and then keep the array name along
      with the subscript expression as a single whole element which gets pushed
      last.  In this manner, kernel-doc produces correct output without removing
      whitespaces which makes the array subscripts unreadable in the docs.
      Signed-off-by: NBorislav Petkov <bbpetkov@yahoo.de>
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      884f2810
    • R
      scripts: kernel-doc whitespace cleanup · 3c308798
      Randy Dunlap 提交于
      Whitespace cleanup only:  convert some series of spaces to tabs.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3c308798
  6. 02 3月, 2007 1 次提交
  7. 21 2月, 2007 1 次提交
  8. 12 2月, 2007 5 次提交
  9. 23 12月, 2006 1 次提交
  10. 08 12月, 2006 1 次提交
  11. 12 10月, 2006 2 次提交
  12. 04 10月, 2006 1 次提交
  13. 01 8月, 2006 1 次提交
  14. 02 7月, 2006 2 次提交
  15. 26 6月, 2006 5 次提交
  16. 02 2月, 2006 3 次提交
  17. 11 1月, 2006 1 次提交
  18. 14 11月, 2005 1 次提交
  19. 14 7月, 2005 1 次提交
  20. 01 5月, 2005 3 次提交