You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is at 'needs thinking about' for me at the moment. I understand the urge, but I don't want to weigh flit down with a thousand different options.
I more and more find myself as wanting the same description from the readme.md/description.md and the __doc__ of my main module.
I like to have info in the Readme because Github highlights it. Would you leave the Github repository without a Readme, have a minimal Readme with less info than the full description, or duplicate it all in the Readme anyway?
I (of course) could globals()['__doc__'] = open('../readme.md').read() but that seem ugly.
Yeah, don't do that. For one thing, I don't like code doing stuff on import. For another, it's not going to work once your module is installed.
I more and more find myself as wanting the same description from the
readme.md
/description.md
and the__doc__
of my main module.Would you have any objection to an alternative to
description-file
that would get the description from the module__doc__
.I (of course) could
globals()['__doc__'] = open('../readme.md').read()
but that seem ugly.Thoughts ?
The text was updated successfully, but these errors were encountered: