How to avoid duplication in __init__.py and README.md

Viewed 253

I have a python package which has short docstrings in each __init__.py module, explaining what the module does etc.

The package is hosted on GitHub, and I want to make this information easily visible to users who browse the repository online. One option would then be to duplicate the whole docstring from __init__.py into a README.md file, but this violates DRY.

Is there a better solution?

0 Answers
Related