Closed cliffckerr closed 4 years ago
We adopted Google style docstrings in IDM-Tools, so that is my preference as well. I can get a stubbed out docset set up in the repo. Because this is outside the IDM org, it presents some difficulties in building/hosting automatically.
Thanks @JSchripsema-IDM . I think what would be most helpful would be a best attempt to write each docstring. Hopefully the code is transparent enough that many or even most parameters are clear from reading through the code, but if not, maybe flag them somehow and @daniel-klein or I can fill them in. If needed, @RomeshA might be able to help get the docs building/hosting set up (he did https://atomica.tools/docs/master/index.html, which is a more comprehensive version of what would be great to have here); I'm imagining parestlib.github.io but there are many other choices.
We use Bamboo to automatically build and then push the docs to gh-pages in the Documentation repo, but are early in the process of moving everything to Read the Docs for building/hosting (I believe the repo will have to be part of the IDM org for that to work). For now, it may make the most sense to build manually and push to the gh-pages branch of this repo. After that is done and IDM-Tools has been released, we can discuss the long-term plan.
@JSchripsema-IDM Thinking about this now and talking to @daniel-klein, the code is probably still in too much flux for it to be worthwhile writing comprehensive documentation now. Will reopen this issue once it's ready though -- thanks! cc @RomeshA
Choices are:
Example (still a little sparse) from
parestlib/binnts.py
:Would also be good to implement examples + doctests...