2013年4月12日 星期五

naturaldocs python block comments

def Multiply(x, y):
    """/*
       Function: Multiply

       Multiplies two integers.

       Parameters:

          x - The first integer.
          y - The second integer.

       Returns:

          The two integers multiplied together.

       See Also:

          
    */"""


$ naturaldocs -i me_project -o HTML html -p build

$ vi build/Languages.txt
Alter Language: Python
Block Comment: """/* */"""

$ naturaldocs -i me_project -o HTML html -p build --rebuild




Reference :
Documenting Python with NaturalDocs - Stack Overflow

沒有留言:

張貼留言