A fast and easy way to make beautiful documentation markdown files.
Project description
Docstring-Markdown
Docstring-Markdown is a fast and easy way to make beautiful documentation markdown files.
Why Docstring-Markdown
It's time to share your awesome new package with the world. And... get ready to spend the next week making your docs. Or, make beautiful docs with Docstring-Markdown in just a few lines of code.
Installation
$ pip install docstr-md
Quickstart
First, clone a test file from the Docstring-Markdown repo.
$ curl https://raw.githubusercontent.com/dsbowen/docstr-md/master/test.py --output test.py
The example test.py
uses sklearn formatted docstrings. Let's convert it to markdown.
from docstr_md.python import PySoup, compile_md
soup = PySoup(path='test.py', parser='sklearn')
compile_md(soup, compiler='sklearn', outfile='test.md')
You'll now have a test.md
file in your current directory. This is what it looks like rendered.
Citation
@software{bowen2020docstr-md,
author = {Dillon Bowen},
title = {Docstring-Markdown},
url = {https://dsbowen.github.io/docstr-md/},
date = {2020-05-15},
}
License
Users must cite Docstring-Markdown in any publications which use this software.
Docstring-Markdown is licensed with the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for docstr_md-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8425e24dd92386b0b6cdb05279347088661fa614f3f9c9cff04f45d78cf76ea6 |
|
MD5 | e6b72783abfbbbf2ee103e696c6b7de7 |
|
BLAKE2b-256 | 8d84dfc40f5d3abb36fc53020b857a3157421d41b12eaf8d89b3ae560c5e4d4c |