good style guides for python-style documentation ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fredrik Lundh

    #1

    good style guides for python-style documentation ?

    (reposted from doc-sig, which seems to be mostly dead
    these days).

    over at the pytut wiki, "carndt" asked:

    Are there any guidelines about conventions concerning
    punctuation, text styles and language style (e.g. how
    to address the reader)?

    any suggestions from this list ?

    </F>



  • Ron Adam

    #2
    Re: good style guides for python-style documentation ?

    > (reposted from doc-sig, which seems to be mostly dead[color=blue]
    > these days).
    >
    > over at the pytut wiki, "carndt" asked:
    >
    > Are there any guidelines about conventions concerning
    > punctuation, text styles and language style (e.g. how
    > to address the reader)?
    >
    > any suggestions from this list ?
    >
    > </F>[/color]



    Well there's:

    PEP 8 -- Style Guide for Python Code
    This document gives coding conventions for the Python code comprising the standard library in the main Python distribution. Please see the companion informational PEP describing style guidelines for the C code in the C implementation of Python.



    But I presume you already know that one. It covers doc strings some,
    but not general documentation. A how-to on documenting would be nice.

    Cheers,
    Ron

    Comment

    • John Salerno

      #3
      Re: good style guides for python-style documentation ?

      Fredrik Lundh wrote:[color=blue]
      > (reposted from doc-sig, which seems to be mostly dead
      > these days).
      >
      > over at the pytut wiki, "carndt" asked:
      >
      > Are there any guidelines about conventions concerning
      > punctuation, text styles and language style (e.g. how
      > to address the reader)?
      >
      > any suggestions from this list ?[/color]

      Just for fun one day, I extracted what I thought were the main points
      from the PEP and made a website for it:


      Comment

      • Ziga Seilnacht

        #4
        Re: good style guides for python-style documentation ?

        Fredrik Lundh wrote:[color=blue]
        > (reposted from doc-sig, which seems to be mostly dead
        > these days).
        >
        > over at the pytut wiki, "carndt" asked:
        >
        > Are there any guidelines about conventions concerning
        > punctuation, text styles and language style (e.g. how
        > to address the reader)?
        >
        > any suggestions from this list ?
        >
        > </F>[/color]

        Documenting Python http://docs.python.org/dev/doc/style-guide.html
        recommends Apple Publications Style Guide:


        GNOME Documentation Style Guide is also quite useful:
        http://developer.gnome.org/documents/style-guide/ .

        Ziga

        Comment

        • sushant.sirsikar@gmail.com

          #5
          Re: good style guides for python-style documentation ?


          Fredrik Lundh wrote:[color=blue]
          > (reposted from doc-sig, which seems to be mostly dead
          > these days).
          >
          > over at the pytut wiki, "carndt" asked:
          >
          > Are there any guidelines about conventions concerning
          > punctuation, text styles and language style (e.g. how
          > to address the reader)?
          >
          > any suggestions from this list ?
          >
          > </F>[/color]
          Hi
          You can read the document given in link:
          Documenting Python http://docs.python.org/dev/doc/style-guide.html
          Bye

          Comment

          Working...