Generate a markfown reference from your public API docstrings and add it to your readme
Project description
referencer-py
Generate a markdown reference from your public API docstrings and adds it to your readme.
Features
- Uses
pydoc-markdown
under the hood
Installation
The package uses semantic versioning. It means that major versions could include breaking changes.
$ pip install referencer
Documentation
referencer package README.md --in-place
Reference
cli
cli(package, document, **options)
Command-line interface
generate_document
generate_document(package, document, package_pattern='from \\.(\\w+) import (\\w+)', document_section='## Reference')
Generate document
generate_reference
generate_reference(package, package_pattern='from \\.(\\w+) import (\\w+)')
Generate reference
Contributing
virtualenv .python -ppython3.7
source .python/bin/activate
make install
make test
Changelog
v0.1
- Initial version
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
referencer-0.1.2.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for referencer-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7d115ab8133883581762df5e99f237c146b2ac861fb252707f57d0f81733fb5 |
|
MD5 | e5e6954ff546a8fd0bffd1d14f713fd5 |
|
BLAKE2b-256 | 5f0f8ccd12d7e5b1083c1c14aaa096d164ffb5244e6781beee4829e2351dd39e |