Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docstr-md-0.0.4.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

docstr_md-0.0.4-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file docstr-md-0.0.4.tar.gz.

File metadata

  • Download URL: docstr-md-0.0.4.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for docstr-md-0.0.4.tar.gz
Algorithm Hash digest
SHA256 dae59f4bba365877d432c53f2b32c162c1e19d124e03ee6edc799eb4c7067087
MD5 9028b77c8204bb201921ae3c38477332
BLAKE2b-256 3c097a216c950701e08af95b564ad01e3f241a2bfe1db11b43feab38b7d1c690

See more details on using hashes here.

File details

Details for the file docstr_md-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: docstr_md-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for docstr_md-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 eca2732f9a2bf7a3469f5cb3e45dc35212b5a9d1e74818de8e53552f5d289ea5
MD5 a37fad3f37e526b10be9efd44e48324a
BLAKE2b-256 68cdf89f2ee90d993e213804e8c33328cbb317cf4e612562dd0f102873cd590d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page