1. 08 3月, 2018 4 次提交
  2. 23 2月, 2018 12 次提交
  3. 21 2月, 2018 2 次提交
    • J
      Merge branch 'kerneldoc2' into docs-next · fcdf1df2
      Jonathan Corbet 提交于
      So once upon a time I set out to fix the problem reported by Tobin wherein
      a literal block within a kerneldoc comment would be corrupted in
      processing.  On the way, though, I got annoyed at the way I have to learn
      how kernel-doc works from the beginning every time I tear into it.
      
      As a result, seven of the following eight patches just get rid of some dead
      code and reorganize the rest - mostly turning the 500-line process_file()
      function into something a bit more rational.  Sphinx output is unchanged
      after these are applied.  Then, at the end, there's a tweak to stop messing
      with literal blocks.
      
      If anybody was unaware that I've not done any serious Perl since the
      1990's, they will certainly understand that fact now.
      fcdf1df2
    • J
      docs: Add an SPDX header to kernel-doc · 38476378
      Jonathan Corbet 提交于
      Add the SPDX header while I'm in the neighborhood.  The source itself just
      says "GNU General Public License", but it also refers people to the COPYING
      file for further information.  Since COPYING says 2.0-only, that is what I
      have put into the header.
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      38476378
  4. 19 2月, 2018 9 次提交
  5. 16 2月, 2018 9 次提交
  6. 14 2月, 2018 4 次提交
    • M
      Restructure kernel-doc.rst · 46347502
      Matthew Wilcox 提交于
      I found the layout confusing with multiple introductions to what
      kernel-doc is and how to use it.
      
      I made the following changes:
       - Moved the 'Including kernel-doc comments' section to the end of
         the document -- we should explain what it *is* before we explain
         how to integrate it.
       - Moved the 'Recommendations' subsection to the top.  We want people
         to know what to document before telling them how to do it.
       - Rewrite the 'Writing kernel-doc comments' section, integrating
         the 'Recommendations' subsection and a paragraph from 'How to format
         kernel-doc comments'.
       - Remove the paragraph about the kernel-doc script; we're supposed to
         be teaching people how to use punctuation to write pretty documentation,
         not documenting the build tooling.
       - Split the 'Parameters and member arguments' section into 'Function
         parameters' and 'Members'.  Structure members are not commonly
         referred to as arguments.
       - Integrate the 'private:' and 'public:' tag descriptions into the
         'Members' section.
       - Move the 'In-line member documentation comments' subsection up to be
         with the 'Members' section.
      Signed-off-by: NMatthew Wilcox <mawilcox@microsoft.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      46347502
    • M
      Fix whitespace in example · 9831e554
      Matthew Wilcox 提交于
      Line up the second line in the way that the example purports to be
      showing.
      Signed-off-by: NMatthew Wilcox <mawilcox@microsoft.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      9831e554
    • M
      Add scripts/split-man.pl · 5b229fbe
      Matthew Wilcox 提交于
      Instead of asking the user to copy and paste a small perl script from
      the documentation, just distribute the perl script in the scripts
      directory.
      Signed-off-by: NMatthew Wilcox <mawilcox@microsoft.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      5b229fbe
    • M
      Minor fixes to kernel-doc.rst · dcb50d97
      Matthew Wilcox 提交于
      The author clearly meant to use the word 'which' here.  Also replace
      some tabs with spaces which fixes the syntax highlighting in my editor.
      Signed-off-by: NMatthew Wilcox <mawilcox@microsoft.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      dcb50d97