Closed auscompgeek closed 7 years ago
I feel like you should publish the docstring to NT.
That's probably be a good idea. We'd have to work out a convention for that. Is there any precedent set in the community already for help strings?
I don't think so. The StatefulAutonomous stuff did a little bit of that, but it was terrible and constrained by SmartDashboard. I would do either _xxx
suffix or descriptions/KEY
if we wanted to put it in a separate table.
This adds a
doc
argument tontproperty
, allowing the user to specify a docstring for anntproperty
.This was previously possible (at least on Python 3.5+), but required setting
__doc__
manually:With this commit, such code would look like this instead: