-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
The current API Reference is built from droneapi.lib module by Sphinx, which pulls it from comments in /droneapi/module/api.py and droneapi/lib/init.py. I've done a bit of a comparison of what is in the files and what is documented and have some suggestions:
DONE
-
Documentation in init refers to objects as "base class" and has comments like "implemented in subclass". This is useful for a developer, but confusing for a user. If the base class is an interface, then it should just say what the interface does.
HW I have updated these cases in the source so they are marked as "Internal notes"
-
Attributes of Vehicle are documented in a table in the interface class. It would be better if these were part of the public "imported" API.
HW I have updated these cases in the source using py:attribute markup. However it would be better if these were "properly" in the public API.
Split out
- CommandSequence.takeoff is missing in public API/documentation - created separate defect Add CommandSequence.takeoff to the public API #70
- CommandSequence.next setter is not appearing in public API - DOCs: Some setters are not being pulled into the public API #83 83
- Order source by preferred order of display to improve readability Reorder __init__.py layout to improve API reference documentation #84