Skip to main content

# 🙌 Handsdown - Python documentation generator

Project description

🙌 Handsdown - Python documentation generator

Python docstring-based documentation generator for lazy people.

🔬 Features

  • 👓 PEP257, Google and RST docstrings support. All of them are converted to a valid markdown.
  • 🐈 Github-friendly. Use your local markdown viewer or open docs right on Github
  • 📚 Signatures for every class, function and method.
  • 🚀 Support for type annotations. Even for the ones from the __future__!
  • 📦 Nice list of all modules in Modules
  • 🔎 Gather all scattered README.md in submodules to one place
  • 🚧 Links to source code from every doc section.
  • #️⃣ Create cross-references easily handsdown.handsdown.Handsdown.replace_links (check index.md)
  • 💕 Do you love type annotations? Well, you get auto-discovery of related modules for free!

🎉 Usage

💻 From command line

Just go to your favorite project that has lots of docstrings but missing auto-generated docs and let handsdown do the thing.

cd ~/my/project
handsdown -o docs

Navigate to docs/index.md to check your new documentation!

🧩 As a module

from handsdown.handsdown import Handsdown
handsdown = Handsdown(
    input_path=Path('path/to/my/repo'),
    output_path=Path('path/to/output'),
)

# generate all docs at once
handsdown.generate()

# or generate one doc
output_file_path = handsdown.generate_doc(Path('path/to/my/repo/source.py'))
output_file_path # Path('path/to/output/source.md')

🔧 Installation

Install using pip

pip install handsdown

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

handsdown-0.1.0.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

handsdown-0.1.0-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

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