Use luals-stubs as the source of truth for docs, instead of maintaining
separate docs stubs Includes introducing a cool new script to turn lua-language-server's json output into markdown documentation.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
--- @meta
|
||||
|
||||
--- Properties and functions that deal with the device's battery and power state.
|
||||
--- The `power` module contains properties and functions that relate to the
|
||||
--- device's battery and charging state.
|
||||
--- @class power
|
||||
--- @field battery_pct Property The battery's current charge, as a percentage of the maximum charge.
|
||||
--- @field battery_millivolts Property The battery's current voltage, in millivolts.
|
||||
|
||||
Reference in New Issue
Block a user