-
Notifications
You must be signed in to change notification settings - Fork 0
doc2md
doc2md.py generates Python documentation in the Markdown (md) format. It was written to automatically generate documentation that can be put on Github or Bitbucket wiki pages. It is initially based on Ferry Boender's pydocmd.
It is as of yet not very complete and is more of a Proof-of-concept than a fully-fledged tool. Markdown is also a very restricted format and every implementation works subtly, or completely, different. This means output may be different on different converters.
$ python doc2md.py module [...]
doc2md.py scans every python file (.py) given and generates the documentation
in a subfolder doc
.
- http://github.com/blasterbug/doc2md.py/wiki/doc2md
- http://github.com/blasterbug/SmileANN/wiki/neuron
- http://github.com/blasterbug/SmileANN/wiki/faces
Author: Benjamin Sientzoff
Version: 0.1.2b
License: GNU GPL V2
Format a doc-string.
Inspect class and return doc, methods.
Inspect a file and return module information
Inspect a method and return arguments, doc.
Inspect a module return doc, vars, functions and classes.
Remove extention from the program file name
Markdownify an inspect file
:param text_block: inspect file to turn to Markdown
:return: Markdown doc into a string
Generated by doc2md.py