Skip to content

This is a small perl project which extract the comments above your function and create a MarkDown file with it. It only work with python file for now

Notifications You must be signed in to change notification settings

BaguetteEater/doc_maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

doc_maker

Description

This is a small perl project which extract the comments above your function and create a MarkDown file with it. It only work with python file for now

Exemple :

# This is documentation, I am explaining things and people thank me about it
# It's a long comment because
# I need to say things
def my_function (arg1:int, arg2:int) :
  { the code }

Doc_maker extract the comments above the function signature and the signature itself. Then it produces a README.md as :

Filename

my_function

def my_function (arg1:int, arg2:int)

This is documentation, I am explaining things and people thank me about it

It's a long comment because

I need to say things

How to use it

perl doc_maker.pl filepath

with filepath having this format : "folder/folder/.../my_file"

Concrete exemples

For now, I've use it on one project, here, feel free to check this out.

I hope I will update the list - and use it often !

I hope you like my small tool :)

About

This is a small perl project which extract the comments above your function and create a MarkDown file with it. It only work with python file for now

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages