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
+6 -2
View File
@@ -1,8 +1,12 @@
--- @meta
--- The 'bluetooth' module contains Properties and functions for interacting
--- with the device's Bluetooth capabilities.
--- @class bluetooth
--- @field enabled Property
--- @field connected Property
--- @field enabled Property Whether or not the Bluetooth stack is currently enabled. This property is writeable, and can be used to enable or disable Bluetooth.
--- @field connected Property Whether or not there is an active connection to another Bluetooth device.
--- @field paired_device Property The device that is currently paired. The bluetooth stack will automatically connected to this device if possible.
--- @field devices Property Devices nearby that have been discovered.
local bluetooth = {}
return bluetooth