Documentation for central classes. #636
carl-wanninger
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello there,
I wanted to discuss documentation in the repository. I started working with
BaseUnitand found the following docstring.To me a docstring in class c of the sort:
x: the x of the class chas no explanatory value (except maybe that it is friday afternoon and I actually thought this is class d). I even presonally preferid (str): ...overid (str): The ID of the unitbecause than I see with one gaze that further documentation is missing.In my dream world, documentation would answer some of the questions I have when working with a class. Sample questions I actually had, were:
unit_operator: What is the role of the unit operator? Why can there exist no unit without it?technology: What is meant by technology? Why is technology a mandatory argument? Where in the pipeline does technology make a difference?bidding_strategies: Why does one unit have multiple bidding strategies? What do the dict key refer to?index: What is the FastIndex class? Why was it chosen?forecaster: What can the forecaster be used for?I know good documentation does not grow on trees but classes that are of such importance like
BaseUnit, in my opinion, deserve some documentary love.So the questions I wanted to discuss, are:
- Does someone see any value in documentation of the
id (str): The ID of the unit.style?- Are there classes where you think the documentation should be extended?
All reactions