Lightweight docstring to markdown converter
Very lightweight docstring to Markdown converter.
Copyright © 2013 Thomas Gläßle firstname.lastname@example.org
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.
This program is free software. It comes without any warranty, to the extent permitted by applicable law.
Little convenience tool to extract docstrings from a module or class and convert them to GitHub Flavoured Markdown:
Its purpose is to quickly generate README.md files for small projects.
The interface consists of the following functions:
- doc2md(docstring, title)
You can run this script from the command line like:
$ doc2md.py [-a] [--no-toc] [-t title] module-name [class-name] > README.md
At the moment this is suited only for a very specific use case. It is hardly forseeable, if I will decide to improve on it in the near future.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size doc2md-0.1.0.tar.gz (4.6 kB)||File type Source||Python version None||Upload date||Hashes View|