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:
jacqueline
2024-03-07 17:22:06 +11:00
parent beb1f65495
commit 36a19182be
24 changed files with 678 additions and 230 deletions
+12
View File
@@ -0,0 +1,12 @@
--- @meta
--- The `controls` module contains Properties relating to the device's physical
--- controls. These controls include the touchwheel, the lock switch, and the
--- side buttons.
--- @class controls
--- @field scheme Property The currently configured control scheme
--- @field scroll_sensitivity Property How much rotational motion is required on the touchwheel per scroll tick.
--- @field lock_switch Property The current state of the device's lock switch.
local controls = {}
return controls