1. 07 Mar, 2018 6 commits
  2. 23 Feb, 2018 12 commits
  3. 20 Feb, 2018 2 commits
    • Jonathan Corbet's avatar
      Merge branch 'kerneldoc2' into docs-next · fcdf1df2
      Jonathan Corbet authored
      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
    • Jonathan Corbet's avatar
      docs: Add an SPDX header to kernel-doc · 38476378
      Jonathan Corbet authored
      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: default avatarJonathan Corbet <corbet@lwn.net>
      38476378
  4. 19 Feb, 2018 2 commits
  5. 18 Feb, 2018 7 commits
  6. 16 Feb, 2018 1 commit
  7. 15 Feb, 2018 8 commits
  8. 13 Feb, 2018 2 commits
    • Matthew Wilcox's avatar
      Restructure kernel-doc.rst · 46347502
      Matthew Wilcox authored
      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: default avatarMatthew Wilcox <mawilcox@microsoft.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      46347502
    • Matthew Wilcox's avatar
      Fix whitespace in example · 9831e554
      Matthew Wilcox authored
      Line up the second line in the way that the example purports to be
      showing.
      Signed-off-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      9831e554